HEX: #C987A4
RGB: (201,135,164)
#C987A4 contains mainly red and blue colors. Web safe color of #C987A4 is #CC9999 (or #C99).
#C987A4 color RGB value is (201,135,164).
RGB: (201,135,164) (79%,53%,64%)
R 201 of 255 = 79%
G 135 of 255 = 53%
B 164 of 255 = 64%
R + G + B ~ 65%. #C987A4 is quite light color.
R + G + B =
201 + 135 + 164 = 500 (100%)
R 201 of 500 ~ 40.2%
G 135 of 500 ~ 27%
B 164 of 500 ~ 32.8%
#C987A4 color CMYK value is (0,33,18,21).
CMYK: (0,33,18,21) C0M33Y18K21 (0%,33%,18%,21%) (0.00/0.33/0.18/0.21)
C9 | 87 | A4 | |
---|---|---|---|
RGB | 201 | 135 | 164 |
HSL | 334° | 37.93% | 65.88% |
HSB/HSV | 334° | 32.84% | 78.82% |
CMYK | 0.00% | 32.84% | 18.41% |
21.18% |
HEX | C9 | 87 | A4 |
Decimal | 201 | 135 | 164 |
Binary | 11001001 | 10000111 | 10100100 |
Octal | 311 | 207 | 244 |
Examples of css and html codes for elements with #C987A4 color. Also use rgb(201,135,164) instead hex code.
.myTextColor { color: #C987A4; }
<p style="color:#C987A4">This sample text font color is #C987A4.</p>
This text font color is #C987A4.
.myBgColor { background-color: #C987A4; }
<div style="background-color:#C987A4">Inner text</div>
This div background color is #C987A4.
.myBorderColor { border: 1px solid #C987A4; }
<div style="border:3px solid #C987A4">Div</div>
This div border color is #C987A4.
.myOpacity80 { color: #C987A4; opacity: 0.8; }
<p style="color:#C987A4;opacity:0.8;">80%</p>
Text with #C987A4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C987A4;}
<p style="text-shadow: 3px 3px 1px #C987A4">Text here.</p>
This text has shadow with #C987A4 color.
.textShadow {text-shadow: 3px 3px 1px #C987A4, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C987A4, 5px 5px 20px red">Text here.</p>
This text has shadow with #C987A4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C987A4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C987A4, Direction=45, Strength=4)">Text</p>
This text has shadow with #C987A4 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C987A4; -webkit-box-shadow: 1px 1px 3px 2px #C987A4; box-shadow: 1px 1px 3px 2px #C987A4; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C987A4; -webkit-box-shadow: 1px 1px 3px 2px #C987A4; box-shadow:1px 1px 3px 2px #C987A4;">
Div content here</div>
This text has color #C987A4 on black background.
This text has color #C987A4 on white background.
This text has black color on #C987A4 background.
This text has white color on #C987A4 background.