Shades of Myrtle #2A5A1F
Tints of Myrtle #2A5A1F
RGB
CMYK
RGB Variations
Color information
#2A5A1F (or 0x2A5A1F) is known color: Myrtle. HEX triplet: 2A, 5A and 1F. RGB value is (42,90,31). Sum of RGB (Red+Green+Blue) = 42+90+31=163 (21% of max value = 765). Red value is 42 (16.80% from 255 or 25.77% from 163); Green value is 90 (35.55% from 255 or 55.21% from 163); Blue value is 31 (12.5% from 255 or 19.02% from 163); Max value from RGB is 90 - color contains mainly: green. Hex color #2A5A1F is not a web safe color. Web safe color analog (approx): #336633. Inversed color of #2A5A1F is #D5A5E0. Grayscale: #454545. Windows color (decimal): -14001633 or 2054698. OLE color: 2054698.
HSL color Cylindrical-coordinate representation of color #2A5A1F: hue angle of 108.81º degrees, saturation: 0.49, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.35% and HSV saturation: 0.66%. Process color model (Four color, CMYK) of #2A5A1F is Cyan = 0.53, Magento = 0, Yellow = 0.66 and Black (K on CMYK) = 0.65.
Color convert
| RGB | 42 | 90 | 31 | - |
| CMYK | 0.53 | 0 | 0.66 | 0.65 |
| HSL | 108.81º | 0.49% | 0.24% | - |
| HSV(B) | 108.81º | 0.66% | 0.35% | - |
| XYZ | 4.86 | 7.9 | 2.57 | - |
| YUV | 68.92 | 106.6 | 108.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 90 | 31 | 0.53 | 0 | 0.66 | 0.65 | 108.81 | 0.49 | 0.24 |
| Hex | 2A | 5A | 1F | 35 | 0 | 42 | 41 | 6D | 31 | 18 |
| Octal | 52 | 132 | 37 | 65 | 0 | 102 | 101 | 155 | 61 | 30 |
| Binary | 101010 | 1011010 | 11111 | 110101 | 0 | 1000010 | 1000001 | 1101101 | 110001 | 11000 |
Color Harmonies of #2A5A1F
Complementary color
Monochromatic Colors of #2A5A1F
Black with #2A5A1F
Text Example
Text Example
White with #2A5A1F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A5A1F; }
p { color: rgb(42,90,31); }
H1.HeaderClassName
{
color: #2A5A1F;
}
.AnyTagClassName
{
color: #2A5A1F;
}
</style>
background-color css
<style>
a { background-color: #2A5A1F; }
a { background-color: rgb(42,90,31); }
div.DivClassName
{
background-color: #2A5A1F;
}
.BgClassName
{
background-color: #2A5A1F;
}
</style>
border-color css
<style>
span { border-color: #2A5A1F; }
span { border-color: rgb(42,90,31); }
td.TdClassName
{
border-color: #2A5A1F;
}
.TagClassName
{
border-color: #2A5A1F;
}
</style>