Shades of Ocean Green #42A172
Tints of Ocean Green #42A172
RGB
CMYK
RGB Variations
Color information
#42A172 (or 0x42A172) is known color: Ocean Green. HEX triplet: 42, A1 and 72. RGB value is (66,161,114). Sum of RGB (Red+Green+Blue) = 66+161+114=341 (45% of max value = 765). Red value is 66 (26.17% from 255 or 19.35% from 341); Green value is 161 (63.28% from 255 or 47.21% from 341); Blue value is 114 (44.92% from 255 or 33.43% from 341); Max value from RGB is 161 - color contains mainly: green. Hex color #42A172 is not a web safe color. Web safe color analog (approx): #339966. Inversed color of #42A172 is #BD5E8D. Grayscale: #7F7F7F. Windows color (decimal): -12410510 or 7512386. OLE color: 7512386.
HSL color Cylindrical-coordinate representation of color #42A172: hue angle of 150.32º degrees, saturation: 0.42, lightness: 0.45%. HSV value (or HSB Brightness) of color is 0.63% and HSV saturation: 0.59%. Process color model (Four color, CMYK) of #42A172 is Cyan = 0.59, Magento = 0, Yellow = 0.29 and Black (K on CMYK) = 0.37.
Color convert
| RGB | 66 | 161 | 114 | - |
| CMYK | 0.59 | 0 | 0.29 | 0.37 |
| HSL | 150.32º | 0.42% | 0.45% | - |
| HSV(B) | 150.32º | 0.59% | 0.63% | - |
| XYZ | 18.03 | 27.86 | 20.35 | - |
| YUV | 127.24 | 120.53 | 84.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 66 | 161 | 114 | 0.59 | 0 | 0.29 | 0.37 | 150.32 | 0.42 | 0.45 |
| Hex | 42 | A1 | 72 | 3B | 0 | 1D | 25 | 96 | 2A | 2D |
| Octal | 102 | 241 | 162 | 73 | 0 | 35 | 45 | 226 | 52 | 55 |
| Binary | 1000010 | 10100001 | 1110010 | 111011 | 0 | 11101 | 100101 | 10010110 | 101010 | 101101 |
Color Harmonies of #42A172
Complementary color
Monochromatic Colors of #42A172
Black with #42A172
Text Example
Text Example
White with #42A172
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #42A172; }
p { color: rgb(66,161,114); }
H1.HeaderClassName
{
color: #42A172;
}
.AnyTagClassName
{
color: #42A172;
}
</style>
background-color css
<style>
a { background-color: #42A172; }
a { background-color: rgb(66,161,114); }
div.DivClassName
{
background-color: #42A172;
}
.BgClassName
{
background-color: #42A172;
}
</style>
border-color css
<style>
span { border-color: #42A172; }
span { border-color: rgb(66,161,114); }
td.TdClassName
{
border-color: #42A172;
}
.TagClassName
{
border-color: #42A172;
}
</style>