Shades of Ocean Green #42A271
Tints of Ocean Green #42A271
RGB
CMYK
RGB Variations
Color information
#42A271 (or 0x42A271) is known color: Ocean Green. HEX triplet: 42, A2 and 71. RGB value is (66,162,113). Sum of RGB (Red+Green+Blue) = 66+162+113=341 (45% of max value = 765). Red value is 66 (26.17% from 255 or 19.35% from 341); Green value is 162 (63.67% from 255 or 47.51% from 341); Blue value is 113 (44.53% from 255 or 33.14% from 341); Max value from RGB is 162 - color contains mainly: green. Hex color #42A271 is not a web safe color. Web safe color analog (approx): #339966. Inversed color of #42A271 is #BD5D8E. Grayscale: #7F7F7F. Windows color (decimal): -12410255 or 7447106. OLE color: 7447106.
HSL color Cylindrical-coordinate representation of color #42A271: hue angle of 149.38º degrees, saturation: 0.42, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.64% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #42A271 is Cyan = 0.59, Magento = 0, Yellow = 0.30 and Black (K on CMYK) = 0.36.
Color convert
| RGB | 66 | 162 | 113 | - |
| CMYK | 0.59 | 0 | 0.30 | 0.36 |
| HSL | 149.38º | 0.42% | 0.45% | - |
| HSV(B) | 149.38º | 0.59% | 0.64% | - |
| XYZ | 18.15 | 28.19 | 20.11 | - |
| YUV | 127.71 | 119.7 | 83.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 66 | 162 | 113 | 0.59 | 0 | 0.30 | 0.36 | 149.38 | 0.42 | 0.45 |
| Hex | 42 | A2 | 71 | 3B | 0 | 1E | 24 | 95 | 2A | 2D |
| Octal | 102 | 242 | 161 | 73 | 0 | 36 | 44 | 225 | 52 | 55 |
| Binary | 1000010 | 10100010 | 1110001 | 111011 | 0 | 11110 | 100100 | 10010101 | 101010 | 101101 |
Color Harmonies of #42A271
Complementary color
Monochromatic Colors of #42A271
Black with #42A271
Text Example
Text Example
White with #42A271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #42A271; }
p { color: rgb(66,162,113); }
H1.HeaderClassName
{
color: #42A271;
}
.AnyTagClassName
{
color: #42A271;
}
</style>
background-color css
<style>
a { background-color: #42A271; }
a { background-color: rgb(66,162,113); }
div.DivClassName
{
background-color: #42A271;
}
.BgClassName
{
background-color: #42A271;
}
</style>
border-color css
<style>
span { border-color: #42A271; }
span { border-color: rgb(66,162,113); }
td.TdClassName
{
border-color: #42A271;
}
.TagClassName
{
border-color: #42A271;
}
</style>