GUIDE: Colored names - Page 7
Register

User Tag List

Page 7 of 7 FirstFirst ... 3 4 5 6 7
Results 121 to 140 of 140
  1. #121

  2. #122

  3. #123

    Re: Colored names explained, and a lot of names

    Hey,
    I recently began playing again and created a color gradient generator (with names).
    You can copy the spreadsheet from here (Requires a Google Account to make a copy)

    Input name in A2
    Input starting colours in B2 to D2
    Input ending colours in B3 to D3

    A6 is the name with the color gradient ranging from the first colour to the second colour (First letter is in the first colour, last letter in the second, for example: Serial Killer)
    A8 is the name with the color gradient ranging from the first colour to the second and then to the first again (So the second colour is in the center and the first colour is at the beginning and at the end, for example: Arsonist)

    Names shamelessly taken from the first post, I hope it's ok for you

    (Magic happens in columns F to N, if someone is interested, just change the font color to black)

    If someone finds a bug, tell me please.

  4. #124

    Re: Colored names explained, and a lot of names

    here is some, what is the HTML code for colors on the website ?
    this one has 11 colors. wich is maximum. i mean 12 colors was 2 letters away.... why could u not make this code a bit smaller inside mafia. i mean in css all you need to type is #6000a0 + message like 6000a0Hello. and here it takes soo long time to make a color name with this code and the code makes u not avalible to use more than 11 colors.
    Last edited by MasterNinja; August 3rd, 2014 at 12:39 AM.

  5. #125

  6. #126

  7. #127

    Re: Colored names explained, and a lot of names

    Am I missing something? What 11 and 12 colors?

    The necrotrolling is strong here.
    This statement is false. Or.. Is it..? Actually, I think it is the following statement that is false. Also, the preceding statement is true. u wot m8?

    If you aren't mindqf'd enough yet, go and try to solve THIS.

  8. #128

  9. #129

    Re: Colored names explained, and a lot of names

    11 what? Characters or what?

    Lol... Idk if I'm being stupid here.. you just said it's 255. Each of red, green and blue can have a value between 0 and 255. That's 255^3 possible colors, no?

    Idk 11 what you're talking about man.
    This statement is false. Or.. Is it..? Actually, I think it is the following statement that is false. Also, the preceding statement is true. u wot m8?

    If you aren't mindqf'd enough yet, go and try to solve THIS.

  10. #130

    Re: Colored names explained, and a lot of names

    Quote Originally Posted by SpiritFryer View Post
    11 what? Characters or what?

    Lol... Idk if I'm being stupid here.. you just said it's 255. Each of red, green and blue can have a value between 0 and 255. That's 255^3 possible colors, no?

    Idk 11 what you're talking about man.
    Each letter of his name is a different color.
    Quote Originally Posted by Elixir View Post
    You should be priviledged to experience bestmas.

    "waah the screen is shaking, waah my delicate eyes".

    Fuck sake.

  11. #131

  12. #132

  13. #133

    Re: Colored names explained, and a lot of names

    Itís full of bugs!

    -doesnít work for names of length 1
    -itís inefficient if the colours are too close (if I choose 1,0,0 and 0,0,0 I get -<c val="010000">M</c><c val="000000">Y</c><c val="000000">N</c><c val="000000">A</c><c val="000000">M</c><c val="000000">E</c>)
    -also itís not evenly distributed
    -also you donít really need all those </c>ís, do you?

  14. #134

  15. #135

  16. #136

    Re: Colored names explained, and a lot of names

    Quote Originally Posted by Shifty View Post
    Isn't the "j" & "a" in "Ninja" the same color? They look very much alike.
    the point is that the longest lenght for the comment is 255 letters (i think, didn't re read the thread) and that 11 colors is the maximum amount of colors. (since it makes ur message too long to add 12 colors with 1 letter each) if you have 2 of same colors when its not after eachother you input the color 2 times like here

    red D blue a green w red n = 4 colors. (doesn't matter if someone is equal aslong they dont have 2 letters aftere eachother with the same text. like this
    red Da blue w green n
    #AlwaysProtecc

  17. #137

  18. #138

    Re: Colored names explained, and a lot of names

    Here is an AutoHotkey script that can make your life a little easier in terms of making a colored name.
    Get AutoHotkey, create new script, and copy this. Run it and then uou simply choose the 2 colors you want and press "F5" - it will type the color code for you.
    Note: it's double color code, for example: <c val="000000-ffffff">name</c>


    Spoiler : AutoHotkey Script, F5 Hotkey :

    SetKeyDelay, 0

    ;Set starting default value, Just a random colour
    RGBval:=RGB(Rval:=44,Gval:=197,Bval:=89)
    R1G1B1val:=RGB(R1val:=144,G1val:=17,B1val:=39)

    ;Create Color GUI
    Gui, Add, Text, x0 y10 w40 h20 +Right, Red
    Gui, Add, Text, x0 y30 w40 h20 +Right, Green
    Gui, Add, Text, x0 y50 w40 h20 +Right, Blue
    Gui, Add, Text, x0 y70 w40 h20 +Right, Red
    Gui, Add, Text, x0 y90 w40 h20 +Right, Green
    Gui, Add, Text, x0 y110 w40 h20 +Right, Blue
    Gui, Add, Slider, x40 y10 w190 h20 AltSubmit +NoTicks +Range0-255 vsR gSliderSub, %Rval%
    Gui, Add, Slider, x40 y30 w190 h20 AltSubmit +NoTicks +Range0-255 vsG gSliderSub, %Gval%
    Gui, Add, Slider, x40 y50 w190 h20 AltSubmit +NoTicks +Range0-255 vsB gSliderSub, %Bval%
    Gui, Add, Slider, x40 y70 w190 h20 AltSubmit +NoTicks +Range0-255 vsR1 gSliderSub, %R1val%
    Gui, Add, Slider, x40 y90 w190 h20 AltSubmit +NoTicks +Range0-255 vsG1 gSliderSub, %G1val%
    Gui, Add, Slider, x40 y110 w190 h20 AltSubmit +NoTicks +Range0-255 vsB1 gSliderSub, %B1val%
    Gui, Add, Edit, x230 y10 w45 h20 gEditSub veR +Limit3 +Number, %Rval%
    Gui, Add, UpDown, Range0-255 vuR gUpDownSub, %Rval%
    Gui, Add, Edit, x230 y30 w45 h20 gEditSub veG +Limit3 +Number, %Gval%
    Gui, Add, UpDown, Range0-255 vuG gUpDownSub, %Gval%
    Gui, Add, Edit, x230 y50 w45 h20 gEditSub veB +Limit3 +Number, %Bval%
    Gui, Add, UpDown, Range0-255 vuB gUpDownSub, %Bval%
    Gui, Add, Edit, x230 y70 w45 h20 gEditSub veR1 +Limit3 +Number, %R1val%
    Gui, Add, UpDown, Range0-255 vuR1 gUpDownSub, %R1val%
    Gui, Add, Edit, x230 y90 w45 h20 gEditSub veG1 +Limit3 +Number, %G1val%
    Gui, Add, UpDown, Range0-255 vuG1 gUpDownSub, %G1val%
    Gui, Add, Edit, x230 y110 w45 h20 gEditSub veB1 +Limit3 +Number, %B1val%
    Gui, Add, UpDown, Range0-255 vuB1 gUpDownSub, %B1val%
    Gui, Add, Progress, x285 y10 w60 h60 +Border Background%RGBval% vpC
    Gui, Add, Progress, x285 y75 w60 h60 +Border Background%R1G1B1val% vpC1
    Gui, Show, w351 h140, Simple Color Dialog
    return

    EditSub:
    ;Get Values
    GuiControlGet,Rval,,eR
    GuiControlGet,Gval,,eG
    GuiControlGet,Bval,,eB
    GuiControlGet,R1val,,eR1
    GuiControlGet,G1val,,eG1
    GuiControlGet,B1val,,eB1
    ;Set preview
    gosub set
    ;Make Everything else aware
    GuiControl,,uR,%Rval%
    GuiControl,,uG,%Gval%
    GuiControl,,uB,%Bval%
    GuiControl,,sR,%Rval%
    GuiControl,,sG,%Gval%
    GuiControl,,sB,%Bval%
    GuiControl,,uR1,%R1val%
    GuiControl,,uG1,%G1val%
    GuiControl,,uB1,%B1val%
    GuiControl,,sR1,%R1val%
    GuiControl,,sG1,%G1val%
    GuiControl,,sB1,%B1val%
    return

    UpDownSub:
    ;Get Values
    GuiControlGet,Rval,,uR
    GuiControlGet,Gval,,uG
    GuiControlGet,Bval,,uB
    GuiControlGet,R1val,,uR1
    GuiControlGet,G1val,,uG1
    GuiControlGet,B1val,,uB1
    ;Set preview
    gosub set
    ;Make Everything else aware
    GuiControl,,eR,%Rval%
    GuiControl,,eG,%Gval%
    GuiControl,,eB,%Bval%
    GuiControl,,sR,%Rval%
    GuiControl,,sG,%Gval%
    GuiControl,,sB,%Bval%
    GuiControl,,eR1,%R1val%
    GuiControl,,eG1,%G1val%
    GuiControl,,eB1,%B1val%
    GuiControl,,sR1,%R1val%
    GuiControl,,sG1,%G1val%
    GuiControl,,sB1,%B1val%
    return

    SliderSub:
    ;Get Values
    GuiControlGet,Rval,,sR
    GuiControlGet,Gval,,sG
    GuiControlGet,Bval,,sB
    GuiControlGet,R1val,,sR1
    GuiControlGet,G1val,,sG1
    GuiControlGet,B1val,,sB1
    ;Set preview
    gosub set
    ;Make Everything else aware
    GuiControl,,eR,%Rval%
    GuiControl,,eG,%Gval%
    GuiControl,,eB,%Bval%
    GuiControl,,uR,%Rval%
    GuiControl,,uG,%Gval%
    GuiControl,,uB,%Bval%
    GuiControl,,eR1,%R1val%
    GuiControl,,eG1,%G1val%
    GuiControl,,eB1,%B1val%
    GuiControl,,uR1,%R1val%
    GuiControl,,uG1,%G1val%
    GuiControl,,uB1,%B1val%
    return

    set:
    ;Convert values to Hex
    RGBval:=RGB(Rval,Gval,Bval)
    R1G1B1val:=RGB(R1val,G1val,B1val)
    ;Apply colour to preview
    GuiControl,+Background%RGBval%,pC
    GuiControl,+Background%R1G1B1val%,pC1
    return

    ;Function to convert Decimal RGB to Hexadecimal RBG, Note: '0' (zero) padding is unnecessary
    RGB(r, g, b) {
    ;Shift Numbers
    var:=(r << 16) + (g << 8) + b
    ;Save current A_FormatInteger
    OldFormat := A_FormatInteger
    ;Set Hex A_FormatInteger mode
    SetFormat, Integer, Hex
    ;Force decimal number to Hex number
    var += 0
    ;set original A_FormatInteger mode
    SetFormat, Integer, %OldFormat%
    return var
    }


    F5::
    send -<c val="%Rval%,%Gval%,%Bval%-%R1val%,%G1val%,%B1val%">
    Return


    99% of it is googled things put together. So idk about the comments.
    Last edited by OzyWho; February 25th, 2018 at 06:58 AM. Reason: fix

  19. #139

    Re: Colored names explained, and a lot of names

    Quote Originally Posted by OzyWho View Post
    Can someone help me fix that macro? For example: 12,40,55-176,229,12 shows up as C2837-B0E50C.
    <c val="12,40,55-176,229,1"> Works, while <c val="C2837-B0E50C">shows up as pure white.
    I googled like 90% of that macro, so i dont have the brains to fix it
    I know that C2837 should be 0C2837.
    C2827 IS pure white, less, than 6 symbols in hex code = white.
    But i tried 0C2837, same effect, report to blizzard, don't worry.

  20. #140

    Re: Colored names explained, and a lot of names

    Fixed.

    Also:

    Spoiler : Random Basic Color Macro :
    setkeydelay 0
    F4::
    Random, Qval, 0, 255
    Random, Wval, 0, 255
    Random, Eval, 0, 255
    Random, Rval, 0, 255
    Random, Tval, 0, 255
    Random, Yval, 0, 255
    send -<c val="%Qval%,%Wval%,%Eval%-%Rval%,%Tval%,%Yval%">Random Color
    send {enter}
    Return

 

 

Similar Threads

  1. Donors with colored names?
    By SHINRamen in forum Mafia Discussion
    Replies: 13
    Last Post: July 21st, 2013, 07:57 PM
  2. Colored Names explained? Where has it gone?
    By biersteker in forum Mafia Discussion
    Replies: 4
    Last Post: December 30th, 2012, 02:18 PM
  3. Colored Names
    By Seven81493 in forum Mafia Discussion
    Replies: 9
    Last Post: July 19th, 2012, 08:45 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •