HEX: #006138
RGB: (0,97,56)
#006138 contains only green and blue colors. Web safe color of #006138 is #006633 (or #063).
#006138 color RGB value is (0,97,56).
RGB: (0,97,56) (0%,38%,22%)
R 0 of 255 = 0%
G 97 of 255 = 38%
B 56 of 255 = 22%
R + G + B ~ 20%. #006138 is dark color.
R + G + B =
0 + 97 + 56 = 153 (100%)
R 0 of 153 ~ 0%
G 97 of 153 ~ 63.4%
B 56 of 153 ~ 36.6%
#006138 color CMYK value is (100,0,42,62).
CMYK: (100,0,42,62) C100M0Y42K62 (100%,0%,42%,62%) (1.00/0.00/0.42/0.62)
00 | 61 | 38 | |
---|---|---|---|
RGB | 0 | 97 | 56 |
HSL | 155° | 100.00% | 19.02% |
HSB/HSV | 155° | 100.00% | 38.04% |
CMYK | 100.00% | 0.00% | 42.27% |
61.96% |
HEX | 00 | 61 | 38 |
Decimal | 0 | 97 | 56 |
Binary | 0 | 1100001 | 111000 |
Octal | 0 | 141 | 70 |
Examples of css and html codes for elements with #006138 color. Also use rgb(0,97,56) instead hex code.
.myTextColor { color: #006138; }
<p style="color:#006138">This sample text font color is #006138.</p>
This text font color is #006138.
.myBgColor { background-color: #006138; }
<div style="background-color:#006138">Inner text</div>
This div background color is #006138.
.myBorderColor { border: 1px solid #006138; }
<div style="border:3px solid #006138">Div</div>
This div border color is #006138.
.myOpacity80 { color: #006138; opacity: 0.8; }
<p style="color:#006138;opacity:0.8;">80%</p>
Text with #006138 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #006138;}
<p style="text-shadow: 3px 3px 1px #006138">Text here.</p>
This text has shadow with #006138 color.
.textShadow {text-shadow: 3px 3px 1px #006138, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #006138, 5px 5px 20px red">Text here.</p>
This text has shadow with #006138 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#006138, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#006138, Direction=45, Strength=4)">Text</p>
This text has shadow with #006138 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #006138; -webkit-box-shadow: 1px 1px 3px 2px #006138; box-shadow: 1px 1px 3px 2px #006138; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #006138; -webkit-box-shadow: 1px 1px 3px 2px #006138; box-shadow:1px 1px 3px 2px #006138;">
Div content here</div>
This text has color #006138 on black background.
This text has color #006138 on white background.
This text has black color on #006138 background.
This text has white color on #006138 background.