Just dont get it.

Discussion in 'Android General Discussions' started by n0m0n, Apr 20, 2010.

  1. n0m0n
    Offline

    n0m0n Member

    Joined:
    Nov 5, 2009
    Messages:
    885
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    HERE
    Can someone please explain this to me?

    I installed a live wallpaper called: LINES
    In the configuration it says that I can changed the color of the lines.
    LINE COLOR
    It says that the, "Supported formats are: #RRGGBB #AARRGGBB red, blue, green, black, white gray cyan, magenta, yellow, light gray, dark gray"...

    I have tried: #RRGGBB, #AARRGGBB, RRGGBB, #RR, RR... #red... red
    And nothing changes the color.
    Can anyone please direct me as to what the above means since I must be doing it all wrong?

    Thanks
  2. CoolBreeze
    Offline

    CoolBreeze New Member

    Joined:
    Nov 22, 2009
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    0
    rrggbb Is a six-character hexadecimal value. The first two characters specify the color's R value, the next two specify its G value, and the final two specify its B value. For example, #0000FF.

    aarrggbb Is An eight-character hexadecimal value. The first two characters specify the color's A value, the next two specify its R value, the next two specify its G value, and the final two specify its B value. For example, #FF0000FF.

    I have not tried that live wallpaper, but I would think instead of specifiying the Hex code that as you mentioned in the supported formats that you could simply enter in values of known color names such as Red, Blue, Yellow, etc.

    Here's a good reference to the Hex Codes.

    Color Names and RGB Values with Wide Browser Support - O'Reilly Answers