corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Colour Codes - HTML


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Colour Codes - HTML
Kyle T
Premium Member

Avatar

Registered: 11th Sep 04
Location: Selby, North Yorkshire
User status: Offline
8th Jun 06 at 07:39   View Garage View User's Profile U2U Member Reply With Quote

If I know the RGB value of a colour, how can I translate that into the format used on a HTML Page? ie "#FFFFFF"?

ta


Lotus Elise 111R

Impreza WRX STi
50Calibre
Member

Registered: 13th Dec 04
User status: Offline
8th Jun 06 at 09:29   View User's Profile U2U Member Reply With Quote

use a convertor like photoshop or perhaps an online one somewhere to convert it into hex (#FFFFFF)
Kyle T
Premium Member

Avatar

Registered: 11th Sep 04
Location: Selby, North Yorkshire
User status: Offline
8th Jun 06 at 10:05   View Garage View User's Profile U2U Member Reply With Quote

Done it, you can do <body bgcolour-"rgb 255 255 255">



Lotus Elise 111R

Impreza WRX STi
Dan B
Member

Registered: 25th Feb 01
User status: Offline
8th Jun 06 at 21:19   View User's Profile U2U Member Reply With Quote

Or you could just convert the decimal value to hex......easy, just remember, decimal is base-10, hex is base-16!

Or, alternatively, cheat!

[Edited on 08-06-2006 by Dan B]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
8th Jun 06 at 22:40   View Garage View User's Profile U2U Member Reply With Quote

That notation isn't in the standards Kyle so support for it could potentially be patchy. Colour should be spelt color also.

Converting the numbers is easy, get the decimal value for each part of R, G and B and convert each to hex. I you can't do this in your head like Dan then there's loads of software out there. Just search for hex code freeware.
Dan B
Member

Registered: 25th Feb 01
User status: Offline
8th Jun 06 at 23:20   View User's Profile U2U Member Reply With Quote

Or click on the link-word "cheat" in my post above!
Kyle T
Premium Member

Avatar

Registered: 11th Sep 04
Location: Selby, North Yorkshire
User status: Offline
9th Jun 06 at 05:48   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
That notation isn't in the standards Kyle so support for it could potentially be patchy. Colour should be spelt color also.

Converting the numbers is easy, get the decimal value for each part of R, G and B and convert each to hex. I you can't do this in your head like Dan then there's loads of software out there. Just search for hex code freeware.


ahh kk, ill translate it all n stop being lazy then

thanks all


Lotus Elise 111R

Impreza WRX STi
dave17
Member

Registered: 3rd Sep 02
Location: Greater London
User status: Offline
9th Jun 06 at 22:15   View User's Profile U2U Member Reply With Quote

Or just open it in Photoshop, click window > Info

Then hover over the colour you want, will show the # code on there
Sam
Moderator
Premium Member


Registered: 24th Dec 99
Location: West Midlands
User status: Offline
10th Jun 06 at 09:34   View User's Profile U2U Member Reply With Quote

http://www.colorschemer.com/online.html

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
gsi code clearing help needed widget Help Zone, Modification and ICE Advice 8 1603
19th Mar 03 at 09:23
by bobothebear
 
any one know the name of the colour of my car ? davemark Help Zone, Modification and ICE Advice 29 1846
3rd Feb 04 at 00:41
by davemark
 
Colour codes richard_syko General Chat 8 151
28th Jul 05 at 23:30
by richard_syko
 
Corsa GSi questions Sam General Chat 29 1410
10th Aug 05 at 00:00
by Cybermonkey
 
Colour Information dką General Chat 11 2477
22nd Dec 05 at 22:21
by dką
 

Corsa Sport » Message Board » Off Day » Geek Day » Colour Codes - HTML 30 database queries in 0.0196550 seconds