One more HTML question

Shantanu Joshi weemadarthur at gmail.com
Thu Jun 24 12:09:34 BST 2010


In article <4C22CED5.2050402 at educationman.org>, michael at educationman.org 
says...
> 
> In the source code of the webpage I made with Kompozer, sometimes colors
> are referenced like this:
> 
> style="direction: ltr; color: rgb(0, 0, 0); background-color: rgb(125,
> 166, 71);"
> 
> and other times like this:
> 
> <font color="#5e11a6">
> 
> What's the scoop?
> 
> Michael
> 
> begin:vcard
> fn:Morse, J. Michael
> n:Morse;J. Michael
> email;internet:michael at educationman.org
> tel;work:(210) 932-6268
> tel;home:(251) 243-0214
> x-mozilla-html:TRUE
> version:2.1
> end:vcard

They're both ways of encoding the color using the RGB color model 
(http://en.wikipedia.org/wiki/RGB_color_model#Numeric_representations). 
The #5e11a6 corresponds to rgb(94, 17, 166).

-- 
Shantanu Joshi
weemadarthur at gmail.com




More information about the sounder mailing list