Shades of Cola #402F18
Tints of Cola #402F18
RGB
CMYK
RGB Variations
Color information
#402F18 (or 0x402F18) is known color: Cola. HEX triplet: 40, 2F and 18. RGB value is (64,47,24). Sum of RGB (Red+Green+Blue) = 64+47+24=135 (17% of max value = 765). Red value is 64 (25.39% from 255 or 47.41% from 135); Green value is 47 (18.75% from 255 or 34.81% from 135); Blue value is 24 (9.77% from 255 or 17.78% from 135); Max value from RGB is 64 - color contains mainly: red. Hex color #402F18 is not a web safe color. Web safe color analog (approx): #333300. Inversed color of #402F18 is #BFD0E7. Grayscale: #313131. Windows color (decimal): -12570856 or 1584960. OLE color: 1584960.
HSL color Cylindrical-coordinate representation of color #402F18: hue angle of 34.5º degrees, saturation: 0.45, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.62%. Process color model (Four color, CMYK) of #402F18 is Cyan = 0, Magento = 0.27, Yellow = 0.62 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 47 | 24 | - |
| CMYK | 0 | 0.27 | 0.62 | 0.75 |
| HSL | 34.5º | 0.45% | 0.17% | - |
| HSV(B) | 34.5º | 0.63% | 0.25% | - |
| XYZ | 3.3 | 3.19 | 1.31 | - |
| YUV | 49.46 | 113.63 | 138.37 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 47 | 24 | 0 | 0.27 | 0.62 | 0.75 | 34.5 | 0.45 | 0.17 |
| Hex | 40 | 2F | 18 | 0 | 1B | 3E | 4B | 22 | 2D | 11 |
| Octal | 100 | 57 | 30 | 0 | 33 | 76 | 113 | 42 | 55 | 21 |
| Binary | 1000000 | 101111 | 11000 | 0 | 11011 | 111110 | 1001011 | 100010 | 101101 | 10001 |
Color Harmonies of #402F18
Complementary color
Monochromatic Colors of #402F18
Black with #402F18
Text Example
Text Example
White with #402F18
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402F18; }
p { color: rgb(64,47,24); }
H1.HeaderClassName
{
color: #402F18;
}
.AnyTagClassName
{
color: #402F18;
}
</style>
background-color css
<style>
a { background-color: #402F18; }
a { background-color: rgb(64,47,24); }
div.DivClassName
{
background-color: #402F18;
}
.BgClassName
{
background-color: #402F18;
}
</style>
border-color css
<style>
span { border-color: #402F18; }
span { border-color: rgb(64,47,24); }
td.TdClassName
{
border-color: #402F18;
}
.TagClassName
{
border-color: #402F18;
}
</style>