HEX: #6C987D
RGB: (108,152,125)
#6C987D contains red, green and blue colors in about the same proportion. Web safe color of #6C987D is #669966 (or #696).
#6C987D color RGB value is (108,152,125).
RGB: (108,152,125) (42%,60%,49%)
R 108 of 255 = 42%
G 152 of 255 = 60%
B 125 of 255 = 49%
R + G + B ~ 50%. #6C987D is middle color (not dark and not light).
R + G + B =
108 + 152 + 125 = 385 (100%)
R 108 of 385 ~ 28.05%
G 152 of 385 ~ 39.48%
B 125 of 385 ~ 32.47%
#6C987D color CMYK value is (29,0,18,40).
CMYK: (29,0,18,40) C29M0Y18K40 (29%,0%,18%,40%) (0.29/0.00/0.18/0.40)
6C | 98 | 7D | |
---|---|---|---|
RGB | 108 | 152 | 125 |
HSL | 143° | 17.60% | 50.98% |
HSB/HSV | 143° | 28.95% | 59.61% |
CMYK | 28.95% | 0.00% | 17.76% |
40.39% |
HEX | 6C | 98 | 7D |
Decimal | 108 | 152 | 125 |
Binary | 1101100 | 10011000 | 1111101 |
Octal | 154 | 230 | 175 |
Examples of css and html codes for elements with #6C987D color. Also use rgb(108,152,125) instead hex code.
.myTextColor { color: #6C987D; }
<p style="color:#6C987D">This sample text font color is #6C987D.</p>
This text font color is #6C987D.
.myBgColor { background-color: #6C987D; }
<div style="background-color:#6C987D">Inner text</div>
This div background color is #6C987D.
.myBorderColor { border: 1px solid #6C987D; }
<div style="border:3px solid #6C987D">Div</div>
This div border color is #6C987D.
.myOpacity80 { color: #6C987D; opacity: 0.8; }
<p style="color:#6C987D;opacity:0.8;">80%</p>
Text with #6C987D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C987D;}
<p style="text-shadow: 3px 3px 1px #6C987D">Text here.</p>
This text has shadow with #6C987D color.
.textShadow {text-shadow: 3px 3px 1px #6C987D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C987D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C987D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C987D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C987D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C987D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C987D; -webkit-box-shadow: 1px 1px 3px 2px #6C987D; box-shadow: 1px 1px 3px 2px #6C987D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C987D; -webkit-box-shadow: 1px 1px 3px 2px #6C987D; box-shadow:1px 1px 3px 2px #6C987D;">
Div content here</div>
This text has color #6C987D on black background.
This text has color #6C987D on white background.
This text has black color on #6C987D background.
This text has white color on #6C987D background.