1 (edited by zaher 2005-11-30 10:28)

Topic: [ASK] CSS Colors format of 3 character, #FFF or #AAA

How browser read a color formated as #ABC, is it just repeat the Char twice for each to generate #AABBCC ?.

If your people come crazy, you will not need to your mind any more.

2

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

Correct.

3

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

Thanks, Is any other formats for color?

I know about RGB(255,255,255) and i hate it smile.

If your people come crazy, you will not need to your mind any more.

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

name the colour
AliceBlue, AntiqueWhite, Aqua, Aquamarine, Azure, Beige, Bisque, Black, BlanchedAlmond, Blue, BlueViolet, Brown, BurlyWood, CadetBlue, Chartreuse, Chocolate, Coral, CornflowerBlue, Cornsilk, Crimson, Cyan, DarkBlue, DarkCyan, DarkGoldenRod, DarkGray, DarkGreen, DarkKhaki, DarkMagenta, DarkOliveGreen, Darkorange, DarkOrchid, DarkRed, DarkSalmon, DarkSeaGreen, DarkSlateBlue, DarkSlateGray, DarkTurquoise, DarkViolet, DeepPink, DeepSkyBlue, DimGray, DodgerBlue, Feldspar, FireBrick, FloralWhite, ForestGreen, Fuchsia, Gainsboro, GhostWhite, Gold, GoldenRod, Gray, Green, GreenYellow, HoneyDew, HotPink, IndianRed, Indigo, Ivory, Khaki, Lavender, LavenderBlush, LawnGreen, LemonChiffon, LightBlue, LightCoral, LightCyan, LightGoldenRodYellow, LightGrey, LightGreen, LightPink, LightSalmon, LightSeaGreen, LightSkyBlue, LightSlateBlue, LightSlateGray, LightSteelBlue, LightYellow, Lime, LimeGreen, Linen, Magenta, Maroon, MediumAquaMarine, MediumBlue, MediumOrchid, MediumPurple, MediumSeaGreen, MediumSlateBlue, MediumSpringGreen, MediumTurquoise, MediumVioletRed, MidnightBlue, MintCream, MistyRose, Moccasin, NavajoWhite, Navy, OldLace, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleGoldenRod, PaleGreen, PaleTurquoise, PaleVioletRed, PapayaWhip, PeachPuff, Peru, Pink, Plum, PowderBlue, Purple, Red, RosyBrown, RoyalBlue, SaddleBrown, Salmon, SandyBrown, SeaGreen, SeaShell, Sienna, Silver, SkyBlue, SlateBlue, SlateGray, Snow, SpringGreen, SteelBlue, Tan, Teal, Thistle, Tomato, Turquoise, Violet, VioletRed, Wheat, White, WhiteSmoke, Yellow, YellowGreen
wink

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

There's the HSL color format (Hue, Saturation, Luminence). Though to use it for your website would require a javascript/php function to convert it to RGB, unless they have a built in function for it that I don't know about.

6

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

Thanks for you alls smile

If your people come crazy, you will not need to your mind any more.

7

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

Connorhd: I founded it
http://en.wikipedia.org/wiki/Web_colours
http://www.websiteoptimization.com/speed/tweak/hex/
thanks again.

If your people come crazy, you will not need to your mind any more.

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

Connorhd: Gah! BBCode hell!

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

lol, my text editor can do regex replaces so i couldn't resist tongue

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

http://en.wikipedia.org/wiki/Web_colours is good Zaher, thanks sharing this info...
and lot of ideas for me.. there...

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

11 (edited by Visman 2015-10-21 11:28)

Re: [ASK] CSS Colors format of 3 character, #FFF or #AAA

delete I founded it at here