HEX: #C698F9
RGB: (198,152,249)
#C698F9 contains mainly red and blue colors. Web safe color of #C698F9 is #CC99FF (or #C9F).
#C698F9 color RGB value is (198,152,249).
RGB: (198,152,249) (78%,60%,98%)
R 198 of 255 = 78%
G 152 of 255 = 60%
B 249 of 255 = 98%
R + G + B ~ 79%. #C698F9 is quite light color.
R + G + B =
198 + 152 + 249 = 599 (100%)
R 198 of 599 ~ 33.06%
G 152 of 599 ~ 25.38%
B 249 of 599 ~ 41.57%
#C698F9 color CMYK value is (20,39,0,2).
CMYK: (20,39,0,2) C20M39Y0K2 (20%,39%,0%,2%) (0.20/0.39/0.00/0.02)
C6 | 98 | F9 | |
---|---|---|---|
RGB | 198 | 152 | 249 |
HSL | 268° | 88.99% | 78.63% |
HSB/HSV | 268° | 38.96% | 97.65% |
CMYK | 20.48% | 38.96% | 0.00% |
2.35% |
HEX | C6 | 98 | F9 |
Decimal | 198 | 152 | 249 |
Binary | 11000110 | 10011000 | 11111001 |
Octal | 306 | 230 | 371 |
Examples of css and html codes for elements with #C698F9 color. Also use rgb(198,152,249) instead hex code.
.myTextColor { color: #C698F9; }
<p style="color:#C698F9">This sample text font color is #C698F9.</p>
This text font color is #C698F9.
.myBgColor { background-color: #C698F9; }
<div style="background-color:#C698F9">Inner text</div>
This div background color is #C698F9.
.myBorderColor { border: 1px solid #C698F9; }
<div style="border:3px solid #C698F9">Div</div>
This div border color is #C698F9.
.myOpacity80 { color: #C698F9; opacity: 0.8; }
<p style="color:#C698F9;opacity:0.8;">80%</p>
Text with #C698F9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C698F9;}
<p style="text-shadow: 3px 3px 1px #C698F9">Text here.</p>
This text has shadow with #C698F9 color.
.textShadow {text-shadow: 3px 3px 1px #C698F9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C698F9, 5px 5px 20px red">Text here.</p>
This text has shadow with #C698F9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C698F9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C698F9, Direction=45, Strength=4)">Text</p>
This text has shadow with #C698F9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C698F9; -webkit-box-shadow: 1px 1px 3px 2px #C698F9; box-shadow: 1px 1px 3px 2px #C698F9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C698F9; -webkit-box-shadow: 1px 1px 3px 2px #C698F9; box-shadow:1px 1px 3px 2px #C698F9;">
Div content here</div>
This text has color #C698F9 on black background.
This text has color #C698F9 on white background.
This text has black color on #C698F9 background.
This text has white color on #C698F9 background.