HEX: #C8A5B2
RGB: (200,165,178)
#C8A5B2 contains red, green and blue colors in about the same proportion. Web safe color of #C8A5B2 is #CC9999 (or #C99).
#C8A5B2 color RGB value is (200,165,178).
RGB: (200,165,178) (78%,65%,70%)
R 200 of 255 = 78%
G 165 of 255 = 65%
B 178 of 255 = 70%
R + G + B ~ 71%. #C8A5B2 is quite light color.
R + G + B =
200 + 165 + 178 = 543 (100%)
R 200 of 543 ~ 36.83%
G 165 of 543 ~ 30.39%
B 178 of 543 ~ 32.78%
#C8A5B2 color CMYK value is (0,18,11,22).
CMYK: (0,18,11,22) C0M18Y11K22 (0%,18%,11%,22%) (0.00/0.18/0.11/0.22)
C8 | A5 | B2 | |
---|---|---|---|
RGB | 200 | 165 | 178 |
HSL | 338° | 24.14% | 71.57% |
HSB/HSV | 338° | 17.50% | 78.43% |
CMYK | 0.00% | 17.50% | 11.00% |
21.57% |
HEX | C8 | A5 | B2 |
Decimal | 200 | 165 | 178 |
Binary | 11001000 | 10100101 | 10110010 |
Octal | 310 | 245 | 262 |
Examples of css and html codes for elements with #C8A5B2 color. Also use rgb(200,165,178) instead hex code.
.myTextColor { color: #C8A5B2; }
<p style="color:#C8A5B2">This sample text font color is #C8A5B2.</p>
This text font color is #C8A5B2.
.myBgColor { background-color: #C8A5B2; }
<div style="background-color:#C8A5B2">Inner text</div>
This div background color is #C8A5B2.
.myBorderColor { border: 1px solid #C8A5B2; }
<div style="border:3px solid #C8A5B2">Div</div>
This div border color is #C8A5B2.
.myOpacity80 { color: #C8A5B2; opacity: 0.8; }
<p style="color:#C8A5B2;opacity:0.8;">80%</p>
Text with #C8A5B2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C8A5B2;}
<p style="text-shadow: 3px 3px 1px #C8A5B2">Text here.</p>
This text has shadow with #C8A5B2 color.
.textShadow {text-shadow: 3px 3px 1px #C8A5B2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C8A5B2, 5px 5px 20px red">Text here.</p>
This text has shadow with #C8A5B2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C8A5B2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C8A5B2, Direction=45, Strength=4)">Text</p>
This text has shadow with #C8A5B2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C8A5B2; -webkit-box-shadow: 1px 1px 3px 2px #C8A5B2; box-shadow: 1px 1px 3px 2px #C8A5B2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C8A5B2; -webkit-box-shadow: 1px 1px 3px 2px #C8A5B2; box-shadow:1px 1px 3px 2px #C8A5B2;">
Div content here</div>
This text has color #C8A5B2 on black background.
This text has color #C8A5B2 on white background.
This text has black color on #C8A5B2 background.
This text has white color on #C8A5B2 background.