Shades of Cola #402F21
Tints of Cola #402F21
RGB
CMYK
RGB Variations
Color information
#402F21 (or 0x402F21) is known color: Cola. HEX triplet: 40, 2F and 21. RGB value is (64,47,33). Sum of RGB (Red+Green+Blue) = 64+47+33=144 (19% of max value = 765). Red value is 64 (25.39% from 255 or 44.44% from 144); Green value is 47 (18.75% from 255 or 32.64% from 144); Blue value is 33 (13.28% from 255 or 22.92% from 144); Max value from RGB is 64 - color contains mainly: red. Hex color #402F21 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402F21 is #BFD0DE. Grayscale: #323232. Windows color (decimal): -12570847 or 2174784. OLE color: 2174784.
HSL color Cylindrical-coordinate representation of color #402F21: hue angle of 27.1º degrees, saturation: 0.32, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.48%. Process color model (Four color, CMYK) of #402F21 is Cyan = 0, Magento = 0.27, Yellow = 0.48 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 47 | 33 | - |
| CMYK | 0 | 0.27 | 0.48 | 0.75 |
| HSL | 27.1º | 0.32% | 0.19% | - |
| HSV(B) | 27.1º | 0.48% | 0.25% | - |
| XYZ | 3.41 | 3.23 | 1.88 | - |
| YUV | 50.49 | 118.13 | 137.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 47 | 33 | 0 | 0.27 | 0.48 | 0.75 | 27.1 | 0.32 | 0.19 |
| Hex | 40 | 2F | 21 | 0 | 1B | 30 | 4B | 1B | 20 | 13 |
| Octal | 100 | 57 | 41 | 0 | 33 | 60 | 113 | 33 | 40 | 23 |
| Binary | 1000000 | 101111 | 100001 | 0 | 11011 | 110000 | 1001011 | 11011 | 100000 | 10011 |
Color Harmonies of #402F21
Complementary color
Monochromatic Colors of #402F21
Black with #402F21
Text Example
Text Example
White with #402F21
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402F21; }
p { color: rgb(64,47,33); }
H1.HeaderClassName
{
color: #402F21;
}
.AnyTagClassName
{
color: #402F21;
}
</style>
background-color css
<style>
a { background-color: #402F21; }
a { background-color: rgb(64,47,33); }
div.DivClassName
{
background-color: #402F21;
}
.BgClassName
{
background-color: #402F21;
}
</style>
border-color css
<style>
span { border-color: #402F21; }
span { border-color: rgb(64,47,33); }
td.TdClassName
{
border-color: #402F21;
}
.TagClassName
{
border-color: #402F21;
}
</style>