HEX: #C9987C
RGB: (201,152,124)
#C9987C contains mainly red and green colors. Web safe color of #C9987C is #CC9966 (or #C96).
#C9987C color RGB value is (201,152,124).
RGB: (201,152,124) (79%,60%,49%)
R 201 of 255 = 79%
G 152 of 255 = 60%
B 124 of 255 = 49%
R + G + B ~ 63%. #C9987C is quite light color.
R + G + B =
201 + 152 + 124 = 477 (100%)
R 201 of 477 ~ 42.14%
G 152 of 477 ~ 31.87%
B 124 of 477 ~ 26%
#C9987C color CMYK value is (0,24,38,21).
CMYK: (0,24,38,21) C0M24Y38K21 (0%,24%,38%,21%) (0.00/0.24/0.38/0.21)
C9 | 98 | 7C | |
---|---|---|---|
RGB | 201 | 152 | 124 |
HSL | 22° | 41.62% | 63.73% |
HSB/HSV | 22° | 38.31% | 78.82% |
CMYK | 0.00% | 24.38% | 38.31% |
21.18% |
HEX | C9 | 98 | 7C |
Decimal | 201 | 152 | 124 |
Binary | 11001001 | 10011000 | 1111100 |
Octal | 311 | 230 | 174 |
Examples of css and html codes for elements with #C9987C color. Also use rgb(201,152,124) instead hex code.
.myTextColor { color: #C9987C; }
<p style="color:#C9987C">This sample text font color is #C9987C.</p>
This text font color is #C9987C.
.myBgColor { background-color: #C9987C; }
<div style="background-color:#C9987C">Inner text</div>
This div background color is #C9987C.
.myBorderColor { border: 1px solid #C9987C; }
<div style="border:3px solid #C9987C">Div</div>
This div border color is #C9987C.
.myOpacity80 { color: #C9987C; opacity: 0.8; }
<p style="color:#C9987C;opacity:0.8;">80%</p>
Text with #C9987C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C9987C;}
<p style="text-shadow: 3px 3px 1px #C9987C">Text here.</p>
This text has shadow with #C9987C color.
.textShadow {text-shadow: 3px 3px 1px #C9987C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C9987C, 5px 5px 20px red">Text here.</p>
This text has shadow with #C9987C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C9987C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C9987C, Direction=45, Strength=4)">Text</p>
This text has shadow with #C9987C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C9987C; -webkit-box-shadow: 1px 1px 3px 2px #C9987C; box-shadow: 1px 1px 3px 2px #C9987C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C9987C; -webkit-box-shadow: 1px 1px 3px 2px #C9987C; box-shadow:1px 1px 3px 2px #C9987C;">
Div content here</div>
This text has color #C9987C on black background.
This text has color #C9987C on white background.
This text has black color on #C9987C background.
This text has white color on #C9987C background.