HEX: #C487B8
RGB: (196,135,184)
#C487B8 contains mainly red and blue colors. Web safe color of #C487B8 is #CC99CC (or #C9C).
#C487B8 color RGB value is (196,135,184).
RGB: (196,135,184) (77%,53%,72%)
R 196 of 255 = 77%
G 135 of 255 = 53%
B 184 of 255 = 72%
R + G + B ~ 67%. #C487B8 is quite light color.
R + G + B =
196 + 135 + 184 = 515 (100%)
R 196 of 515 ~ 38.06%
G 135 of 515 ~ 26.21%
B 184 of 515 ~ 35.73%
#C487B8 color CMYK value is (0,31,6,23).
CMYK: (0,31,6,23) C0M31Y6K23 (0%,31%,6%,23%) (0.00/0.31/0.06/0.23)
C4 | 87 | B8 | |
---|---|---|---|
RGB | 196 | 135 | 184 |
HSL | 312° | 34.08% | 64.90% |
HSB/HSV | 312° | 31.12% | 76.86% |
CMYK | 0.00% | 31.12% | 6.12% |
23.14% |
HEX | C4 | 87 | B8 |
Decimal | 196 | 135 | 184 |
Binary | 11000100 | 10000111 | 10111000 |
Octal | 304 | 207 | 270 |
Examples of css and html codes for elements with #C487B8 color. Also use rgb(196,135,184) instead hex code.
.myTextColor { color: #C487B8; }
<p style="color:#C487B8">This sample text font color is #C487B8.</p>
This text font color is #C487B8.
.myBgColor { background-color: #C487B8; }
<div style="background-color:#C487B8">Inner text</div>
This div background color is #C487B8.
.myBorderColor { border: 1px solid #C487B8; }
<div style="border:3px solid #C487B8">Div</div>
This div border color is #C487B8.
.myOpacity80 { color: #C487B8; opacity: 0.8; }
<p style="color:#C487B8;opacity:0.8;">80%</p>
Text with #C487B8 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C487B8;}
<p style="text-shadow: 3px 3px 1px #C487B8">Text here.</p>
This text has shadow with #C487B8 color.
.textShadow {text-shadow: 3px 3px 1px #C487B8, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C487B8, 5px 5px 20px red">Text here.</p>
This text has shadow with #C487B8 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C487B8, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C487B8, Direction=45, Strength=4)">Text</p>
This text has shadow with #C487B8 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C487B8; -webkit-box-shadow: 1px 1px 3px 2px #C487B8; box-shadow: 1px 1px 3px 2px #C487B8; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C487B8; -webkit-box-shadow: 1px 1px 3px 2px #C487B8; box-shadow:1px 1px 3px 2px #C487B8;">
Div content here</div>
This text has color #C487B8 on black background.
This text has color #C487B8 on white background.
This text has black color on #C487B8 background.
This text has white color on #C487B8 background.