HEX: #C497EC
RGB: (196,151,236)
#C497EC contains mainly red and blue colors. Web safe color of #C497EC is #CC99FF (or #C9F).
#C497EC color RGB value is (196,151,236).
RGB: (196,151,236) (77%,59%,93%)
R 196 of 255 = 77%
G 151 of 255 = 59%
B 236 of 255 = 93%
R + G + B ~ 76%. #C497EC is quite light color.
R + G + B =
196 + 151 + 236 = 583 (100%)
R 196 of 583 ~ 33.62%
G 151 of 583 ~ 25.9%
B 236 of 583 ~ 40.48%
#C497EC color CMYK value is (17,36,0,7).
CMYK: (17,36,0,7) C17M36Y0K7 (17%,36%,0%,7%) (0.17/0.36/0.00/0.07)
C4 | 97 | EC | |
---|---|---|---|
RGB | 196 | 151 | 236 |
HSL | 272° | 69.11% | 75.88% |
HSB/HSV | 272° | 36.02% | 92.55% |
CMYK | 16.95% | 36.02% | 0.00% |
7.45% |
HEX | C4 | 97 | EC |
Decimal | 196 | 151 | 236 |
Binary | 11000100 | 10010111 | 11101100 |
Octal | 304 | 227 | 354 |
Examples of css and html codes for elements with #C497EC color. Also use rgb(196,151,236) instead hex code.
.myTextColor { color: #C497EC; }
<p style="color:#C497EC">This sample text font color is #C497EC.</p>
This text font color is #C497EC.
.myBgColor { background-color: #C497EC; }
<div style="background-color:#C497EC">Inner text</div>
This div background color is #C497EC.
.myBorderColor { border: 1px solid #C497EC; }
<div style="border:3px solid #C497EC">Div</div>
This div border color is #C497EC.
.myOpacity80 { color: #C497EC; opacity: 0.8; }
<p style="color:#C497EC;opacity:0.8;">80%</p>
Text with #C497EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C497EC;}
<p style="text-shadow: 3px 3px 1px #C497EC">Text here.</p>
This text has shadow with #C497EC color.
.textShadow {text-shadow: 3px 3px 1px #C497EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C497EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #C497EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C497EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C497EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #C497EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C497EC; -webkit-box-shadow: 1px 1px 3px 2px #C497EC; box-shadow: 1px 1px 3px 2px #C497EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C497EC; -webkit-box-shadow: 1px 1px 3px 2px #C497EC; box-shadow:1px 1px 3px 2px #C497EC;">
Div content here</div>
This text has color #C497EC on black background.
This text has color #C497EC on white background.
This text has black color on #C497EC background.
This text has white color on #C497EC background.