HEX: #C5A5CB
RGB: (197,165,203)
#C5A5CB contains red, green and blue colors in about the same proportion. Web safe color of #C5A5CB is #CC99CC (or #C9C).
#C5A5CB color RGB value is (197,165,203).
RGB: (197,165,203) (77%,65%,80%)
R 197 of 255 = 77%
G 165 of 255 = 65%
B 203 of 255 = 80%
R + G + B ~ 74%. #C5A5CB is quite light color.
R + G + B =
197 + 165 + 203 = 565 (100%)
R 197 of 565 ~ 34.87%
G 165 of 565 ~ 29.2%
B 203 of 565 ~ 35.93%
#C5A5CB color CMYK value is (3,19,0,20).
CMYK: (3,19,0,20) C3M19Y0K20 (3%,19%,0%,20%) (0.03/0.19/0.00/0.20)
C5 | A5 | CB | |
---|---|---|---|
RGB | 197 | 165 | 203 |
HSL | 291° | 26.76% | 72.16% |
HSB/HSV | 291° | 18.72% | 79.61% |
CMYK | 2.96% | 18.72% | 0.00% |
20.39% |
HEX | C5 | A5 | CB |
Decimal | 197 | 165 | 203 |
Binary | 11000101 | 10100101 | 11001011 |
Octal | 305 | 245 | 313 |
Examples of css and html codes for elements with #C5A5CB color. Also use rgb(197,165,203) instead hex code.
.myTextColor { color: #C5A5CB; }
<p style="color:#C5A5CB">This sample text font color is #C5A5CB.</p>
This text font color is #C5A5CB.
.myBgColor { background-color: #C5A5CB; }
<div style="background-color:#C5A5CB">Inner text</div>
This div background color is #C5A5CB.
.myBorderColor { border: 1px solid #C5A5CB; }
<div style="border:3px solid #C5A5CB">Div</div>
This div border color is #C5A5CB.
.myOpacity80 { color: #C5A5CB; opacity: 0.8; }
<p style="color:#C5A5CB;opacity:0.8;">80%</p>
Text with #C5A5CB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5A5CB;}
<p style="text-shadow: 3px 3px 1px #C5A5CB">Text here.</p>
This text has shadow with #C5A5CB color.
.textShadow {text-shadow: 3px 3px 1px #C5A5CB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5A5CB, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5A5CB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5A5CB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5A5CB, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5A5CB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5A5CB; -webkit-box-shadow: 1px 1px 3px 2px #C5A5CB; box-shadow: 1px 1px 3px 2px #C5A5CB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5A5CB; -webkit-box-shadow: 1px 1px 3px 2px #C5A5CB; box-shadow:1px 1px 3px 2px #C5A5CB;">
Div content here</div>
This text has color #C5A5CB on black background.
This text has color #C5A5CB on white background.
This text has black color on #C5A5CB background.
This text has white color on #C5A5CB background.