![]() |
|
|
|
|
#1 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 198
|
Quote:
|
|
|
|
|
|
#2 | |
|
Архивный участник
Join Date: Apr 2006
Posts: 120
|
Quote:
Code:
$color_rgb= ( hexdec ( substr ( $_GET [ "name_color" ], 0, 2 ) ) + ( hexdec ( substr ( $_GET [ "name_color" ], 2, 2 ) ) << 8 ) + ( hexdec ( substr ( $_GET [ "name_color" ], 4, 2 ) ) << 16 ) ); Code:
printf ( "%02X%02X%02X", $color_rgb & 0xff, ( $color_rgb & 0xff00 ) >> 8, ( $color_rgb & 0xff0000 ) >> 16 ); |
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2005
Posts: 133
|
Here is a good list of colors
Use the Access code http://cloford.com/resources/colours/500col.htm Should help a couple ppl |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|