Shades of Myrtle #2A5021
Tints of Myrtle #2A5021
RGB
CMYK
RGB Variations
Color information
#2A5021 (or 0x2A5021) is known color: Myrtle. HEX triplet: 2A, 50 and 21. RGB value is (42,80,33). Sum of RGB (Red+Green+Blue) = 42+80+33=155 (20% of max value = 765). Red value is 42 (16.80% from 255 or 27.10% from 155); Green value is 80 (31.64% from 255 or 51.61% from 155); Blue value is 33 (13.28% from 255 or 21.29% from 155); Max value from RGB is 80 - color contains mainly: green. Hex color #2A5021 is not a web safe color. Web safe color analog (approx): #336633. Inversed color of #2A5021 is #D5AFDE. Grayscale: #3F3F3F. Windows color (decimal): -14004191 or 2183210. OLE color: 2183210.
HSL color Cylindrical-coordinate representation of color #2A5021: hue angle of 108.51º degrees, saturation: 0.42, lightness: 0.22%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #2A5021 is Cyan = 0.48, Magento = 0, Yellow = 0.59 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 42 | 80 | 33 | - |
| CMYK | 0.48 | 0 | 0.59 | 0.69 |
| HSL | 108.51º | 0.42% | 0.22% | - |
| HSV(B) | 108.51º | 0.59% | 0.31% | - |
| XYZ | 4.1 | 6.34 | 2.45 | - |
| YUV | 63.28 | 110.91 | 112.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 80 | 33 | 0.48 | 0 | 0.59 | 0.69 | 108.51 | 0.42 | 0.22 |
| Hex | 2A | 50 | 21 | 30 | 0 | 3B | 45 | 6D | 2A | 16 |
| Octal | 52 | 120 | 41 | 60 | 0 | 73 | 105 | 155 | 52 | 26 |
| Binary | 101010 | 1010000 | 100001 | 110000 | 0 | 111011 | 1000101 | 1101101 | 101010 | 10110 |
Color Harmonies of #2A5021
Complementary color
Monochromatic Colors of #2A5021
Black with #2A5021
Text Example
Text Example
White with #2A5021
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A5021; }
p { color: rgb(42,80,33); }
H1.HeaderClassName
{
color: #2A5021;
}
.AnyTagClassName
{
color: #2A5021;
}
</style>
background-color css
<style>
a { background-color: #2A5021; }
a { background-color: rgb(42,80,33); }
div.DivClassName
{
background-color: #2A5021;
}
.BgClassName
{
background-color: #2A5021;
}
</style>
border-color css
<style>
span { border-color: #2A5021; }
span { border-color: rgb(42,80,33); }
td.TdClassName
{
border-color: #2A5021;
}
.TagClassName
{
border-color: #2A5021;
}
</style>