Shades of Cola #402F1F
Tints of Cola #402F1F
RGB
CMYK
RGB Variations
Color information
#402F1F (or 0x402F1F) is known color: Cola. HEX triplet: 40, 2F and 1F. RGB value is (64,47,31). Sum of RGB (Red+Green+Blue) = 64+47+31=142 (18% of max value = 765). Red value is 64 (25.39% from 255 or 45.07% from 142); Green value is 47 (18.75% from 255 or 33.10% from 142); Blue value is 31 (12.5% from 255 or 21.83% from 142); Max value from RGB is 64 - color contains mainly: red. Hex color #402F1F is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402F1F is #BFD0E0. Grayscale: #323232. Windows color (decimal): -12570849 or 2043712. OLE color: 2043712.
HSL color Cylindrical-coordinate representation of color #402F1F: hue angle of 29.09º degrees, saturation: 0.35, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.52%. Process color model (Four color, CMYK) of #402F1F is Cyan = 0, Magento = 0.27, Yellow = 0.52 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 47 | 31 | - |
| CMYK | 0 | 0.27 | 0.52 | 0.75 |
| HSL | 29.09º | 0.35% | 0.19% | - |
| HSV(B) | 29.09º | 0.52% | 0.25% | - |
| XYZ | 3.38 | 3.22 | 1.74 | - |
| YUV | 50.26 | 117.13 | 137.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 47 | 31 | 0 | 0.27 | 0.52 | 0.75 | 29.09 | 0.35 | 0.19 |
| Hex | 40 | 2F | 1F | 0 | 1B | 34 | 4B | 1D | 23 | 13 |
| Octal | 100 | 57 | 37 | 0 | 33 | 64 | 113 | 35 | 43 | 23 |
| Binary | 1000000 | 101111 | 11111 | 0 | 11011 | 110100 | 1001011 | 11101 | 100011 | 10011 |
Color Harmonies of #402F1F
Complementary color
Monochromatic Colors of #402F1F
Black with #402F1F
Text Example
Text Example
White with #402F1F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402F1F; }
p { color: rgb(64,47,31); }
H1.HeaderClassName
{
color: #402F1F;
}
.AnyTagClassName
{
color: #402F1F;
}
</style>
background-color css
<style>
a { background-color: #402F1F; }
a { background-color: rgb(64,47,31); }
div.DivClassName
{
background-color: #402F1F;
}
.BgClassName
{
background-color: #402F1F;
}
</style>
border-color css
<style>
span { border-color: #402F1F; }
span { border-color: rgb(64,47,31); }
td.TdClassName
{
border-color: #402F1F;
}
.TagClassName
{
border-color: #402F1F;
}
</style>