HEX: #C2A7E9
RGB: (194,167,233)
#C2A7E9 contains mainly red and blue colors. Web safe color of #C2A7E9 is #CC99FF (or #C9F).
#C2A7E9 color RGB value is (194,167,233).
RGB: (194,167,233) (76%,65%,91%)
R 194 of 255 = 76%
G 167 of 255 = 65%
B 233 of 255 = 91%
R + G + B ~ 77%. #C2A7E9 is quite light color.
R + G + B =
194 + 167 + 233 = 594 (100%)
R 194 of 594 ~ 32.66%
G 167 of 594 ~ 28.11%
B 233 of 594 ~ 39.23%
#C2A7E9 color CMYK value is (17,28,0,9).
CMYK: (17,28,0,9) C17M28Y0K9 (17%,28%,0%,9%) (0.17/0.28/0.00/0.09)
C2 | A7 | E9 | |
---|---|---|---|
RGB | 194 | 167 | 233 |
HSL | 265° | 60.00% | 78.43% |
HSB/HSV | 265° | 28.33% | 91.37% |
CMYK | 16.74% | 28.33% | 0.00% |
8.63% |
HEX | C2 | A7 | E9 |
Decimal | 194 | 167 | 233 |
Binary | 11000010 | 10100111 | 11101001 |
Octal | 302 | 247 | 351 |
Examples of css and html codes for elements with #C2A7E9 color. Also use rgb(194,167,233) instead hex code.
.myTextColor { color: #C2A7E9; }
<p style="color:#C2A7E9">This sample text font color is #C2A7E9.</p>
This text font color is #C2A7E9.
.myBgColor { background-color: #C2A7E9; }
<div style="background-color:#C2A7E9">Inner text</div>
This div background color is #C2A7E9.
.myBorderColor { border: 1px solid #C2A7E9; }
<div style="border:3px solid #C2A7E9">Div</div>
This div border color is #C2A7E9.
.myOpacity80 { color: #C2A7E9; opacity: 0.8; }
<p style="color:#C2A7E9;opacity:0.8;">80%</p>
Text with #C2A7E9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C2A7E9;}
<p style="text-shadow: 3px 3px 1px #C2A7E9">Text here.</p>
This text has shadow with #C2A7E9 color.
.textShadow {text-shadow: 3px 3px 1px #C2A7E9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C2A7E9, 5px 5px 20px red">Text here.</p>
This text has shadow with #C2A7E9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C2A7E9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C2A7E9, Direction=45, Strength=4)">Text</p>
This text has shadow with #C2A7E9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C2A7E9; -webkit-box-shadow: 1px 1px 3px 2px #C2A7E9; box-shadow: 1px 1px 3px 2px #C2A7E9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C2A7E9; -webkit-box-shadow: 1px 1px 3px 2px #C2A7E9; box-shadow:1px 1px 3px 2px #C2A7E9;">
Div content here</div>
This text has color #C2A7E9 on black background.
This text has color #C2A7E9 on white background.
This text has black color on #C2A7E9 background.
This text has white color on #C2A7E9 background.