Shades of Cocoa Brown #2A1F12
Tints of Cocoa Brown #2A1F12
RGB
CMYK
RGB Variations
Color information
#2A1F12 (or 0x2A1F12) is known color: Cocoa Brown. HEX triplet: 2A, 1F and 12. RGB value is (42,31,18). Sum of RGB (Red+Green+Blue) = 42+31+18=91 (12% of max value = 765). Red value is 42 (16.80% from 255 or 46.15% from 91); Green value is 31 (12.5% from 255 or 34.07% from 91); Blue value is 18 (7.42% from 255 or 19.78% from 91); Max value from RGB is 42 - color contains mainly: red. Hex color #2A1F12 is not a web safe color. Web safe color analog (approx): #333300. Inversed color of #2A1F12 is #D5E0ED. Grayscale: #202020. Windows color (decimal): -14016750 or 1187626. OLE color: 1187626.
HSL color Cylindrical-coordinate representation of color #2A1F12: hue angle of 32.5º degrees, saturation: 0.4, lightness: 0.12%. HSV value (or HSB Brightness) of color is 0.16% and HSV saturation: 0.57%. Process color model (Four color, CMYK) of #2A1F12 is Cyan = 0, Magento = 0.26, Yellow = 0.57 and Black (K on CMYK) = 0.84.
Color convert
| RGB | 42 | 31 | 18 | - |
| CMYK | 0 | 0.26 | 0.57 | 0.84 |
| HSL | 32.5º | 0.4% | 0.12% | - |
| HSV(B) | 32.5º | 0.57% | 0.16% | - |
| XYZ | 1.55 | 1.52 | 0.78 | - |
| YUV | 32.81 | 119.64 | 134.56 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 18 | 0 | 0.26 | 0.57 | 0.84 | 32.5 | 0.4 | 0.12 |
| Hex | 2A | 1F | 12 | 0 | 1A | 39 | 54 | 20 | 28 | C |
| Octal | 52 | 37 | 22 | 0 | 32 | 71 | 124 | 40 | 50 | 14 |
| Binary | 101010 | 11111 | 10010 | 0 | 11010 | 111001 | 1010100 | 100000 | 101000 | 1100 |
Color Harmonies of #2A1F12
Complementary color
Monochromatic Colors of #2A1F12
Black with #2A1F12
Text Example
Text Example
White with #2A1F12
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F12; }
p { color: rgb(42,31,18); }
H1.HeaderClassName
{
color: #2A1F12;
}
.AnyTagClassName
{
color: #2A1F12;
}
</style>
background-color css
<style>
a { background-color: #2A1F12; }
a { background-color: rgb(42,31,18); }
div.DivClassName
{
background-color: #2A1F12;
}
.BgClassName
{
background-color: #2A1F12;
}
</style>
border-color css
<style>
span { border-color: #2A1F12; }
span { border-color: rgb(42,31,18); }
td.TdClassName
{
border-color: #2A1F12;
}
.TagClassName
{
border-color: #2A1F12;
}
</style>