...

View Full Version : Html color code



Shuvo91
11-13-2012, 04:45 PM
How can i learn about html color code?

minder
11-13-2012, 08:55 PM
How can i learn about html color code?

www.lmgtfy.com/?q=html+color+code

felgall
11-13-2012, 09:03 PM
How can i learn about html color code?

There is no such thing as HTML color codes. Color is something that you define in CSS.

yugeca
11-15-2012, 07:32 AM
Hello friends,

If you want to learn html color code so try on www[dot]immigration-usa[dot]com/html_colors[dot]html. It help you for learn html color code easily.

Try it.:thumbsup:

jalarie
11-26-2012, 07:29 PM
I have a list that may be of use to you:


// colors.js
// Written: 2010-01-23 by James Alarie
// Changed: 2011-06-22 to add rgb values.
// http://spruce.flint.umich.edu/~jalarie/
// Title=HTML Color Names and Codes.
// Keywords=color,code.
// Copied on 2011-06-22 from http://www.w3.org/TR/2011/REC-css3-color-20110607/

var BrowserColors16=new Array( // color name~#hex~rgb
'Black~#000000~0,0,0', 'White~#ffffff~255,255,255',
'Gray~#808080~128,128,128', 'Silver~#c0c0c0~192,192,192',
'Purple~#800080~128,0,128', 'Fuchsia~#ff00ff~255,0,255',
'Maroon~#800000~128,0,0', 'Red~#ff0000~255,0,0',
'Olive~#808000~128,128,0', 'Yellow~#ffff00~255,255,0',
'Green~#008000~0,128,0', 'Lime~#00ff00~0,255,0',
'Teal~#008080~0,128,128', 'Aqua~#00ffff~0,255,255',
'Navy~#000080~0,0,128', 'Blue~#0000ff~0,0,255',
'');

var BrowserColors=new Array( // color name~#hex~rgb
'alice blue~#f0f8ff~240,248,255',
'antique white~#faebd7~250,235,215',
'aqua~#00ffff~0,255,255',
'aquamarine~#7fffd4~127,255,212',
'azure~#f0ffff~240,255,255',
'beige~#f5f5dc~245,245,220',
'bisque~#ffe4c4~255,228,196',
'black~#000000~0,0,0',
'blanched almond~#ffebcd~255,235,205',
'blue~#0000ff~0,0,255',
'blue violet~#8a2be2~138,43,226',
'brown~#a52a2a~165,42,42',
'burgundy~#800020~128,0,32', // from http://en.wikipedia.org/wiki/Burgundy_(color)
'burly wood~#deb887~222,184,135',
'cadet blue~#5f9ea0~95,158,160',
'chartreuse~#7fff00~127,255,0',
'chocolate~#d2691e~210,105,30',
'coral~#ff7f50~255,127,80',
'cornflower blue~#6495ed~100,149,237',
'cornsilk~#fff8dc~255,248,220',
'crimson~#dc143c~220,20,60',
'cyan~#00ffff~0,255,255',
'dark blue~#00008b~0,0,139',
'dark cyan~#008b8b~0,139,139',
'dark goldenrod~#b8860b~184,134,11',
'dark gray~#a9a9a9~169,169,169',
'dark green~#006400~0,100,0',
'dark grey~#a9a9a9~169,169,169',
'dark khaki~#bdb76b~189,183,107',
'dark magenta~#8b008b~139,0,139',
'dark olive green~#556b2f~85,107,47',
'dark orange~#ff8c00~255,140,0',
'dark orchid~#9932cc~153,50,204',
'dark red~#8b0000~139,0,0',
'dark salmon~#e9967a~233,150,122',
'dark sea green~#8fbc8f~143,188,143',
'dark slate blue~#483d8b~72,61,139',
'dark slate gray~#2f4f4f~47,79,79',
'dark slate grey~#2f4f4f~47,79,79',
'dark turquoise~#00ced1~0,206,209',
'dark violet~#9400d3~148,0,211',
'deep pink~#ff1493~255,20,147',
'deep sky blue~#00bfff~0,191,255',
'dim gray~#696969~105,105,105',
'dim grey~#696969~105,105,105',
'dodger blue~#1e90ff~30,144,255',
'fire brick~#b22222~178,34,34',
'floral white~#fffaf0~255,250,240',
'forest green~#228b22~34,139,34',
'fuchsia~#ff00ff~255,0,255',
'gainsboro~#dcdcdc~220,220,220',
'ghost white~#f8f8ff~248,248,255',
'gold~#ffd700~255,215,0', // University of Michigan Maize = #ffde00~155,222,0
'goldenrod~#daa520~218,165,32',
'gray~#808080~128,128,128',
'green~#008000~0,128,0',
'green yellow~#adff2f~173,255,47',
'grey~#808080~128,128,128',
'honeydew~#f0fff0~240,255,240',
'hot pink~#ff69b4~255,105,180',
'indian red~#cd5c5c~205,92,92',
'indigo~#4b0082~75,0,130',
'ivory~#fffff0~255,255,240',
'khaki~#f0e68c~240,230,140',
'lavender~#e6e6fa~230,230,250',
'lavender blush~#fff0f5~255,240,245',
'lawn green~#7cfc00~124,252,0',
'lemon chiffon~#fffacd~255,250,205',
'light blue~#add8e6~173,216,230',
'light coral~#f08080~240,128,128',
'light cyan~#e0ffff~224,255,255',
'light goldenrod yellow~#fafad2~250,250,210',
'light gray~#d3d3d3~211,211,211',
'light green~#90ee90~144,238,144',
'light grey~#d3d3d3~211,211,211',
'light pink~#ffb6c1~255,182,193',
'light salmon~#ffa07a~255,160,122',
'light sea green~#20b2aa~32,178,170',
'light sky blue~#87cefa~135,206,250',
'light slate gray~#778899~119,136,153',
'light slate grey~#778899~119,136,153',
'light steel blue~#b0c4de~176,196,222',
'light yellow~#ffffe0~255,255,224',
'lime~#00ff00~0,255,0',
'lime green~#32cd32~50,205,50',
'linen~#faf0e6~250,240,230',
'magenta~#ff00ff~255,0,255',
'maroon~#800000~128,0,0',
'medium aquamarine~#66cdaa~102,205,170',
'medium blue~#0000cd~0,0,205',
'medium orchid~#ba55d3~186,85,211',
'medium purple~#9370db~147,112,219',
'medium sea green~#3cb371~60,179,113',
'medium slate blue~#7b68ee~123,104,238',
'medium spring green~#00fa9a~0,250,154',
'medium turquoise~#48d1cc~72,209,204',
'medium violet red~#c71585~199,21,133',
'midnight blue~#191970~25,25,112',
'mint cream~#f5fffa~245,255,250',
'misty rose~#ffe4e1~255,228,225',
'moccasin~#ffe4b5~255,228,181',
'navajo white~#ffdead~255,222,173',
'navy~#000080~0,0,128',
'old lace~#fdf5e6~253,245,230',
'olive~#808000~128,128,0',
'olive drab~#6b8e23~107,142,35',
'orange~#ffa500~255,165,0',
'orange red~#ff4500~255,69,0',
'orchid~#da70d6~218,112,214',
'pale goldenrod~#eee8aa~238,232,170',
'pale green~#98fb98~152,251,152',
'pale turquoise~#afeeee~175,238,238',
'pale violet red~#db7093~219,112,147',
'papaya whip~#ffefd5~255,239,213',
'peach puff~#ffdab9~255,218,185',
'peru~#cd853f~205,133,63',
'pink~#ffc0cb~255,192,203',
'plum~#dda0dd~221,160,221',
'powder blue~#b0e0e6~176,224,230',
'purple~#800080~128,0,128',
'raspberry~#e30b5c~227,11,92', // from http://en.wikipedia.org/wiki/Raspberry_(color)
'red~#ff0000~255,0,0',
'rosy brown~#bc8f8f~188,143,143',
'royal blue~#4169e1~65,105,225',
'saddle brown~#8b4513~139,69,19',
'salmon~#fa8072~250,128,114',
'sandy brown~#f4a460~244,164,96',
'sea green~#2e8b57~46,139,87',
'sea shell~#fff5ee~255,245,238',
'sienna~#a0522d~160,82,45',
'silver~#c0c0c0~192,192,192',
'sky blue~#87ceeb~135,206,235',
'slate blue~#6a5acd~106,90,205',
'slate gray~#708090~112,128,144',
'slate grey~#708090~112,128,144',
'snow~#fffafa~255,250,250',
'spring green~#00ff7f~0,255,127',
'steel blue~#4682b4~70,130,180',
'tan~#d2b48c~210,180,140',
'teal~#008080~0,128,128',
'thistle~#d8bfd8~216,191,216',
'tomato~#ff6347~255,99,71',
'turquoise~#40e0d0~64,224,208',
'violet~#ee82ee~238,130,238',
'wheat~#f5deb3~245,222,179',
'white~#ffffff~255,255,255',
'white smoke~#f5f5f5~245,245,245',
'yellow~#ffff00~255,255,0',
'yellow green~#9acd32~154,205,50',
'');

felgall
11-26-2012, 07:54 PM
Only the following colours have their names specified in ste standards and therefore these are the only ones guaranteed to work when you use their names: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

There are another 130 that will usually work - see http://www.crockford.com/wrrrld/color.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum