Shades of Myrtle #2A402A
Tints of Myrtle #2A402A
RGB
CMYK
RGB Variations
Color information
#2A402A (or 0x2A402A) is known color: Myrtle. HEX triplet: 2A, 40 and 2A. RGB value is (42,64,42). Sum of RGB (Red+Green+Blue) = 42+64+42=148 (19% of max value = 765). Red value is 42 (16.80% from 255 or 28.38% from 148); Green value is 64 (25.39% from 255 or 43.24% from 148); Blue value is 42 (16.80% from 255 or 28.38% from 148); Max value from RGB is 64 - color contains mainly: green. Hex color #2A402A is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #2A402A is #D5BFD5. Grayscale: #363636. Windows color (decimal): -14008278 or 2768938. OLE color: 2768938.
HSL color Cylindrical-coordinate representation of color #2A402A: hue angle of 120º degrees, saturation: 0.21, lightness: 0.21%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.34%. Process color model (Four color, CMYK) of #2A402A is Cyan = 0.34, Magento = 0, Yellow = 0.34 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 42 | 64 | 42 | - |
| CMYK | 0.34 | 0 | 0.34 | 0.75 |
| HSL | 120º | 0.21% | 0.21% | - |
| HSV(B) | 120º | 0.34% | 0.25% | - |
| XYZ | 3.21 | 4.33 | 2.86 | - |
| YUV | 54.91 | 120.71 | 118.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 64 | 42 | 0.34 | 0 | 0.34 | 0.75 | 120 | 0.21 | 0.21 |
| Hex | 2A | 40 | 2A | 22 | 0 | 22 | 4B | 78 | 15 | 15 |
| Octal | 52 | 100 | 52 | 42 | 0 | 42 | 113 | 170 | 25 | 25 |
| Binary | 101010 | 1000000 | 101010 | 100010 | 0 | 100010 | 1001011 | 1111000 | 10101 | 10101 |
Color Harmonies of #2A402A
Complementary color
Monochromatic Colors of #2A402A
Black with #2A402A
Text Example
Text Example
White with #2A402A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A402A; }
p { color: rgb(42,64,42); }
H1.HeaderClassName
{
color: #2A402A;
}
.AnyTagClassName
{
color: #2A402A;
}
</style>
background-color css
<style>
a { background-color: #2A402A; }
a { background-color: rgb(42,64,42); }
div.DivClassName
{
background-color: #2A402A;
}
.BgClassName
{
background-color: #2A402A;
}
</style>
border-color css
<style>
span { border-color: #2A402A; }
span { border-color: rgb(42,64,42); }
td.TdClassName
{
border-color: #2A402A;
}
.TagClassName
{
border-color: #2A402A;
}
</style>