Shades of Morocco Brown #402A1F
Tints of Morocco Brown #402A1F
RGB
CMYK
RGB Variations
Color information
#402A1F (or 0x402A1F) is known color: Morocco Brown. HEX triplet: 40, 2A and 1F. RGB value is (64,42,31). Sum of RGB (Red+Green+Blue) = 64+42+31=137 (18% of max value = 765). Red value is 64 (25.39% from 255 or 46.72% from 137); Green value is 42 (16.80% from 255 or 30.66% from 137); Blue value is 31 (12.5% from 255 or 22.63% from 137); Max value from RGB is 64 - color contains mainly: red. Hex color #402A1F is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #402A1F is #BFD5E0. Grayscale: #2F2F2F. Windows color (decimal): -12572129 or 2042432. OLE color: 2042432.
HSL color Cylindrical-coordinate representation of color #402A1F: hue angle of 20º 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 #402A1F is Cyan = 0, Magento = 0.34, Yellow = 0.52 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 64 | 42 | 31 | - |
| CMYK | 0 | 0.34 | 0.52 | 0.75 |
| HSL | 20º | 0.35% | 0.19% | - |
| HSV(B) | 20º | 0.52% | 0.25% | - |
| XYZ | 3.19 | 2.84 | 1.68 | - |
| YUV | 47.32 | 118.79 | 139.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 64 | 42 | 31 | 0 | 0.34 | 0.52 | 0.75 | 20 | 0.35 | 0.19 |
| Hex | 40 | 2A | 1F | 0 | 22 | 34 | 4B | 14 | 23 | 13 |
| Octal | 100 | 52 | 37 | 0 | 42 | 64 | 113 | 24 | 43 | 23 |
| Binary | 1000000 | 101010 | 11111 | 0 | 100010 | 110100 | 1001011 | 10100 | 100011 | 10011 |
Color Harmonies of #402A1F
Complementary color
Monochromatic Colors of #402A1F
Black with #402A1F
Text Example
Text Example
White with #402A1F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #402A1F; }
p { color: rgb(64,42,31); }
H1.HeaderClassName
{
color: #402A1F;
}
.AnyTagClassName
{
color: #402A1F;
}
</style>
background-color css
<style>
a { background-color: #402A1F; }
a { background-color: rgb(64,42,31); }
div.DivClassName
{
background-color: #402A1F;
}
.BgClassName
{
background-color: #402A1F;
}
</style>
border-color css
<style>
span { border-color: #402A1F; }
span { border-color: rgb(64,42,31); }
td.TdClassName
{
border-color: #402A1F;
}
.TagClassName
{
border-color: #402A1F;
}
</style>