HEX: #C99DF6
RGB: (201,157,246)
#C99DF6 contains mainly red and blue colors. Web safe color of #C99DF6 is #CC99FF (or #C9F).
#C99DF6 color RGB value is (201,157,246).
RGB: (201,157,246) (79%,62%,96%)
R 201 of 255 = 79%
G 157 of 255 = 62%
B 246 of 255 = 96%
R + G + B ~ 79%. #C99DF6 is quite light color.
R + G + B =
201 + 157 + 246 = 604 (100%)
R 201 of 604 ~ 33.28%
G 157 of 604 ~ 25.99%
B 246 of 604 ~ 40.73%
#C99DF6 color CMYK value is (18,36,0,4).
CMYK: (18,36,0,4) C18M36Y0K4 (18%,36%,0%,4%) (0.18/0.36/0.00/0.04)
C9 | 9D | F6 | |
---|---|---|---|
RGB | 201 | 157 | 246 |
HSL | 270° | 83.18% | 79.02% |
HSB/HSV | 270° | 36.18% | 96.47% |
CMYK | 18.29% | 36.18% | 0.00% |
3.53% |
HEX | C9 | 9D | F6 |
Decimal | 201 | 157 | 246 |
Binary | 11001001 | 10011101 | 11110110 |
Octal | 311 | 235 | 366 |
Examples of css and html codes for elements with #C99DF6 color. Also use rgb(201,157,246) instead hex code.
.myTextColor { color: #C99DF6; }
<p style="color:#C99DF6">This sample text font color is #C99DF6.</p>
This text font color is #C99DF6.
.myBgColor { background-color: #C99DF6; }
<div style="background-color:#C99DF6">Inner text</div>
This div background color is #C99DF6.
.myBorderColor { border: 1px solid #C99DF6; }
<div style="border:3px solid #C99DF6">Div</div>
This div border color is #C99DF6.
.myOpacity80 { color: #C99DF6; opacity: 0.8; }
<p style="color:#C99DF6;opacity:0.8;">80%</p>
Text with #C99DF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C99DF6;}
<p style="text-shadow: 3px 3px 1px #C99DF6">Text here.</p>
This text has shadow with #C99DF6 color.
.textShadow {text-shadow: 3px 3px 1px #C99DF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C99DF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #C99DF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C99DF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C99DF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #C99DF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C99DF6; -webkit-box-shadow: 1px 1px 3px 2px #C99DF6; box-shadow: 1px 1px 3px 2px #C99DF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C99DF6; -webkit-box-shadow: 1px 1px 3px 2px #C99DF6; box-shadow:1px 1px 3px 2px #C99DF6;">
Div content here</div>
This text has color #C99DF6 on black background.
This text has color #C99DF6 on white background.
This text has black color on #C99DF6 background.
This text has white color on #C99DF6 background.