HEX: #C198CC
RGB: (193,152,204)
#C198CC contains red, green and blue colors in about the same proportion. Web safe color of #C198CC is #CC99CC (or #C9C).
#C198CC color RGB value is (193,152,204).
RGB: (193,152,204) (76%,60%,80%)
R 193 of 255 = 76%
G 152 of 255 = 60%
B 204 of 255 = 80%
R + G + B ~ 72%. #C198CC is quite light color.
R + G + B =
193 + 152 + 204 = 549 (100%)
R 193 of 549 ~ 35.15%
G 152 of 549 ~ 27.69%
B 204 of 549 ~ 37.16%
#C198CC color CMYK value is (5,25,0,20).
CMYK: (5,25,0,20) C5M25Y0K20 (5%,25%,0%,20%) (0.05/0.25/0.00/0.20)
C1 | 98 | CC | |
---|---|---|---|
RGB | 193 | 152 | 204 |
HSL | 287° | 33.77% | 69.80% |
HSB/HSV | 287° | 25.49% | 80.00% |
CMYK | 5.39% | 25.49% | 0.00% |
20.00% |
HEX | C1 | 98 | CC |
Decimal | 193 | 152 | 204 |
Binary | 11000001 | 10011000 | 11001100 |
Octal | 301 | 230 | 314 |
Examples of css and html codes for elements with #C198CC color. Also use rgb(193,152,204) instead hex code.
.myTextColor { color: #C198CC; }
<p style="color:#C198CC">This sample text font color is #C198CC.</p>
This text font color is #C198CC.
.myBgColor { background-color: #C198CC; }
<div style="background-color:#C198CC">Inner text</div>
This div background color is #C198CC.
.myBorderColor { border: 1px solid #C198CC; }
<div style="border:3px solid #C198CC">Div</div>
This div border color is #C198CC.
.myOpacity80 { color: #C198CC; opacity: 0.8; }
<p style="color:#C198CC;opacity:0.8;">80%</p>
Text with #C198CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C198CC;}
<p style="text-shadow: 3px 3px 1px #C198CC">Text here.</p>
This text has shadow with #C198CC color.
.textShadow {text-shadow: 3px 3px 1px #C198CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C198CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #C198CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C198CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C198CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #C198CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C198CC; -webkit-box-shadow: 1px 1px 3px 2px #C198CC; box-shadow: 1px 1px 3px 2px #C198CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C198CC; -webkit-box-shadow: 1px 1px 3px 2px #C198CC; box-shadow:1px 1px 3px 2px #C198CC;">
Div content here</div>
This text has color #C198CC on black background.
This text has color #C198CC on white background.
This text has black color on #C198CC background.
This text has white color on #C198CC background.