HEX: #6CB981
RGB: (108,185,129)
#6CB981 contains mainly green and blue colors. Web safe color of #6CB981 is #66CC99 (or #6C9).
#6CB981 color RGB value is (108,185,129).
RGB: (108,185,129) (42%,73%,51%)
R 108 of 255 = 42%
G 185 of 255 = 73%
B 129 of 255 = 51%
R + G + B ~ 55%. #6CB981 is middle color (not dark and not light).
R + G + B =
108 + 185 + 129 = 422 (100%)
R 108 of 422 ~ 25.59%
G 185 of 422 ~ 43.84%
B 129 of 422 ~ 30.57%
#6CB981 color CMYK value is (42,0,30,27).
CMYK: (42,0,30,27) C42M0Y30K27 (42%,0%,30%,27%) (0.42/0.00/0.30/0.27)
6C | B9 | 81 | |
---|---|---|---|
RGB | 108 | 185 | 129 |
HSL | 136° | 35.48% | 57.45% |
HSB/HSV | 136° | 41.62% | 72.55% |
CMYK | 41.62% | 0.00% | 30.27% |
27.45% |
HEX | 6C | B9 | 81 |
Decimal | 108 | 185 | 129 |
Binary | 1101100 | 10111001 | 10000001 |
Octal | 154 | 271 | 201 |
Examples of css and html codes for elements with #6CB981 color. Also use rgb(108,185,129) instead hex code.
.myTextColor { color: #6CB981; }
<p style="color:#6CB981">This sample text font color is #6CB981.</p>
This text font color is #6CB981.
.myBgColor { background-color: #6CB981; }
<div style="background-color:#6CB981">Inner text</div>
This div background color is #6CB981.
.myBorderColor { border: 1px solid #6CB981; }
<div style="border:3px solid #6CB981">Div</div>
This div border color is #6CB981.
.myOpacity80 { color: #6CB981; opacity: 0.8; }
<p style="color:#6CB981;opacity:0.8;">80%</p>
Text with #6CB981 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6CB981;}
<p style="text-shadow: 3px 3px 1px #6CB981">Text here.</p>
This text has shadow with #6CB981 color.
.textShadow {text-shadow: 3px 3px 1px #6CB981, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6CB981, 5px 5px 20px red">Text here.</p>
This text has shadow with #6CB981 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6CB981, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6CB981, Direction=45, Strength=4)">Text</p>
This text has shadow with #6CB981 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6CB981; -webkit-box-shadow: 1px 1px 3px 2px #6CB981; box-shadow: 1px 1px 3px 2px #6CB981; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6CB981; -webkit-box-shadow: 1px 1px 3px 2px #6CB981; box-shadow:1px 1px 3px 2px #6CB981;">
Div content here</div>
This text has color #6CB981 on black background.
This text has color #6CB981 on white background.
This text has black color on #6CB981 background.
This text has white color on #6CB981 background.