HEX: #C4A8E7
RGB: (196,168,231)
#C4A8E7 contains mainly red and blue colors. Web safe color of #C4A8E7 is #CC99FF (or #C9F).
#C4A8E7 color RGB value is (196,168,231).
RGB: (196,168,231) (77%,66%,91%)
R 196 of 255 = 77%
G 168 of 255 = 66%
B 231 of 255 = 91%
R + G + B ~ 78%. #C4A8E7 is quite light color.
R + G + B =
196 + 168 + 231 = 595 (100%)
R 196 of 595 ~ 32.94%
G 168 of 595 ~ 28.24%
B 231 of 595 ~ 38.82%
#C4A8E7 color CMYK value is (15,27,0,9).
CMYK: (15,27,0,9) C15M27Y0K9 (15%,27%,0%,9%) (0.15/0.27/0.00/0.09)
C4 | A8 | E7 | |
---|---|---|---|
RGB | 196 | 168 | 231 |
HSL | 267° | 56.76% | 78.24% |
HSB/HSV | 267° | 27.27% | 90.59% |
CMYK | 15.15% | 27.27% | 0.00% |
9.41% |
HEX | C4 | A8 | E7 |
Decimal | 196 | 168 | 231 |
Binary | 11000100 | 10101000 | 11100111 |
Octal | 304 | 250 | 347 |
Examples of css and html codes for elements with #C4A8E7 color. Also use rgb(196,168,231) instead hex code.
.myTextColor { color: #C4A8E7; }
<p style="color:#C4A8E7">This sample text font color is #C4A8E7.</p>
This text font color is #C4A8E7.
.myBgColor { background-color: #C4A8E7; }
<div style="background-color:#C4A8E7">Inner text</div>
This div background color is #C4A8E7.
.myBorderColor { border: 1px solid #C4A8E7; }
<div style="border:3px solid #C4A8E7">Div</div>
This div border color is #C4A8E7.
.myOpacity80 { color: #C4A8E7; opacity: 0.8; }
<p style="color:#C4A8E7;opacity:0.8;">80%</p>
Text with #C4A8E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C4A8E7;}
<p style="text-shadow: 3px 3px 1px #C4A8E7">Text here.</p>
This text has shadow with #C4A8E7 color.
.textShadow {text-shadow: 3px 3px 1px #C4A8E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C4A8E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #C4A8E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C4A8E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C4A8E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #C4A8E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C4A8E7; -webkit-box-shadow: 1px 1px 3px 2px #C4A8E7; box-shadow: 1px 1px 3px 2px #C4A8E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C4A8E7; -webkit-box-shadow: 1px 1px 3px 2px #C4A8E7; box-shadow:1px 1px 3px 2px #C4A8E7;">
Div content here</div>
This text has color #C4A8E7 on black background.
This text has color #C4A8E7 on white background.
This text has black color on #C4A8E7 background.
This text has white color on #C4A8E7 background.