Here's that same option that will show the color as well:

<cfset hex="00,33,66,99,CC,FF">
<cfoutput>
<table border='1'>
<cfloop list="#hex#" index="r">
<cfloop list="#hex#" index="g">
<tr>
<cfloop list="#hex#" index="b">
   <td><font color="#r##g##b#">#r##g##b#</font></td>
</cfloop>
</tr>
</cfloop>
</cfloop>
</table>
</cfoutput>

C. Hatton Humphrey


> -----Original Message-----
> From: James Curran [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 12:46 PM
> To: CF-Talk
> Subject: RE: Color Pallette
>
>
> If you want to use the 216 Web pallate, you can loop over the
> following HEX
> list:
>
> 00,  33,  66,  99,  CC,  FF
>
> With three Nested loops:
> <cfset hex="00,33,66,99,CC,FF">
>
> <cfloop list="#hex#" index="r">
> <cfloop list="#hex#" index="g">
> <cfloop list="#hex#" index="b">
> #r##g##b#,
> </cfloop>
> </cfloop>
> </cfloop>
>
> - j
>
> .........
> jim.curran
> technical.director
> nylon.technology
> six.west.fourteenth.street
> new.york.ny.10011
> 212.691.1134
> [EMAIL PROTECTED]
> ......................
>
>
> -----Original Message-----
> From: Douglas Brown [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 08, 2002 12:53 PM
> To: CF-Talk
> Subject: Color Pallette
>
>
> Does anyone have a tab delimeted list of a windows 256 color pallette?
> It is for a forum and typing in all the hex values is a pain in the
> keester
>
>
>
> There are two major products that come out of Berkeley: LSD and [Unix]
> BSD. We don't believe this to be a coincidence.
>
>
>
> Doug Brown
>
>
> 
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to