HTML/CSS Color Test

Cost-free. But a link to this page is appreciated.
Note: This service comes with NO GUARANTEES. No liability is assumed.


Text ColorBackground ColorBorder ColorBackground Image URLImage Position

HTML/CSS Color Test

This simple page allows you to experiment with CSS text colors, background colors, border colors, and background images and see results as you type. There are plenty of web pages around that are far more advanced than this, but sometimes all you need is a simple tool, specially if, like me, you are not very intuitive with colors.

Just about all browsers allow one to specify stylesheet (CSS) colors in 3 different formats:

  • By name: such as red, yellow, cyan.
  • By hex code: such as #ff0000, #ffff00, #00ffff.
  • By rgb (red/green/blue) values: such as rgb(255,0,0), rgb(255,255,0), rgb(0,255,255).

The hex code and rgb values are really the same thing, expressed in hexadecimal (base 16) or decimal (base 10) numbers. Each value represents the intensity of the red, green, and blue colors. the values are expressed as a number between 0 and 255 (or 00 and ff in hexadecimal). That is 8 bits per color for a total of 24 bits for all 3. The browser computes the resulting color by combining these values. Here is a color table reference.

Incidentally, you can use a shorthand expression for the hex value, but only if all 3 values are twin pairs of digits. For example #ff0088 can be abbreviated to #f08 and #cc44aa is the same as #c4a, and so on. But there is no shorthand for #8700ff since one of the values is not a twin pair.

In addition to colors, you can also specify a background image using http or https URL's (e.g. http://www.example.com/image.gif) and view it in tiled or centered format.

Enter colors and/or image above in any format and see results as you type.




Have a comment about the HTML/CSS Color Test?
View/Add comments

*** FREE from hashemian.com *** see descriptions
JavaScript Countdown/Count-up Timer/Clock JavaScript Web Page Load Time JavaScript Web Page Commenting JavaScript Visitor IP Address/Host
HTML Form Submission Tool Email/String Encoder/CAPTCHA Hit Counter; Page Counter Connection Probe
Reverse Whois Browser Simulator/emulator My IP Address, Whoami Whois
Mail Exchanger (MX Record) Lookup Search Engine Rankings JavaScript Thousand Separator Windows File Search Utility
Atomic Clock/Current Time Short/Small URLs Atomic Fortune Teller Port Scanner
Generate Password Google/Yahoo Maps Web Page Load Timer Ping
HTML, URL, Decimal Encoding/Decoding Form Post Tester/Viewer Web Scratchpad/Notepad/Clipboard RSS/ATOM Web Widget
HTML/CSS Color Test  


Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

© 2001-2009 Robert Vahid Hashemian
Support the effort
Liked this page?
Please consider creating a link to it
from your Web site.

hashemian.com
هاشمیان.com

 Home

 Blog

 Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
Usage

 News

 Articles

 FAQ

 About

 Contact

 Financial Markets Book
Read Complete Book



CE
Sony ICF-C7IP Clock Radio for iPod and iPhone with Hidden Sliding Dock Tray
$69.95


CE
RCA RC59i Alarm Clock Radio with iPod Dock (Black)
$39.99


WIRELESS
Displex Display Scratch Remover
$8.99


MUSIC
Chinese Democracy


MUSIC
Chinese Democracy (180 Gram Vinyl, with Bonus MP3 Download of Entire Album)
Guns N' Roses

more…




Get Kindle, $259

aStore - Hashemian.com on Amazon

Visits: Powered by hashemian.com

 

 

 

 

 

Search Hashemian.com





For Apple iPod Touch Leather Case Pouch Cover Skin New
$10.95
Ends: Wed Nov 11, 2009 12:07:33 EST


Apple iPod nano 5th Generation Black (8 GB) MP3 Player
$62.00
Ends: Wed Nov 11, 2009 12:07:43 EST


New White Alarm Clock Radio iPod MP3 Dock Station w/Aux
$12.50
Ends: Wed Nov 11, 2009 12:08:33 EST


used ipod nano 8gb
$55.00
Ends: Wed Nov 11, 2009 12:09:55 EST


iPod Classic 80 GB
$29.99
Ends: Wed Nov 11, 2009 12:10:47 EST

more…