Color Spot Tables: tables of color swatches and color codes used in HTML and CSS

Decimal Red, Green, Blue, and Opacity Color Codes

This page demonstrates the decimal representation of color of the form rgba(R,G,B,a), where R, G, and B are the decimal values for the red, green, and blue values of the color on the range 0 to 255 and a is the opacity of the color (a = 0 = transparent; a = 1 = opaque). As of January 2009, the Mozilla and Google Chrome browsers display colors by this definition method. For example, the color with decimal values 23 for red, 67 for green, and 88 for blue and which has an opacity of 0.5 (semi-transparent) is rgba(23,67,88,0.5). This is just one of the ways you can define colors in HTML attributes and in Cascading Style Sheets; you can use a quick reference table to help you choose from among the many color tables available.

The color list below demonstrates these RBGA codes.

Color Namergb(R,G,B)Swatchrgba(R,G,B,a) Swatches
rgb(R,G,B)a = 1.0a = 0.9a = 0.8a = 0.7a = 0.6a = 0.5a = 0.4a = 0.3a = 0.2a = 0.1a = 0.0
black rgb(0,0,0)
text

text

text

text

text

text

text

text

text

text

text

text
navy rgb(0,0,128)
text

text

text

text

text

text

text

text

text

text

text

text
blue rgb(0,0,255)
text

text

text

text

text

text

text

text

text

text

text

text
green rgb(0,128,0)
text

text

text

text

text

text

text

text

text

text

text

text
teal rgb(0,128,128)
text

text

text

text

text

text

text

text

text

text

text

text
lime rgb(0,255,0)
text

text

text

text

text

text

text

text

text

text

text

text
aqua rgb(0,255,255)
text

text

text

text

text

text

text

text

text

text

text

text
maroon rgb(128,0,0)
text

text

text

text

text

text

text

text

text

text

text

text
purple rgb(128,0,128)
text

text

text

text

text

text

text

text

text

text

text

text
olive rgb(128,128,0)
text

text

text

text

text

text

text

text

text

text

text

text
gray rgb(128,128,128)
text

text

text

text

text

text

text

text

text

text

text

text
silver rgb(192,192,192)
text

text

text

text

text

text

text

text

text

text

text

text
red rgb(255,0,0)
text

text

text

text

text

text

text

text

text

text

text

text
fuchsia rgb(255,0,255)
text

text

text

text

text

text

text

text

text

text

text

text
yellow rgb(255,255,0)
text

text

text

text

text

text

text

text

text

text

text

text
white rgb(255,255,255)
text

text

text

text

text

text

text

text

text

text

text

text
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com