HEX: #C187FA
RGB: (193,135,250)
#C187FA contains mainly red and blue colors. Web safe color of #C187FA is #CC99FF (or #C9F).
#C187FA color RGB value is (193,135,250).
RGB: (193,135,250) (76%,53%,98%)
R 193 of 255 = 76%
G 135 of 255 = 53%
B 250 of 255 = 98%
R + G + B ~ 76%. #C187FA is quite light color.
R + G + B =
193 + 135 + 250 = 578 (100%)
R 193 of 578 ~ 33.39%
G 135 of 578 ~ 23.36%
B 250 of 578 ~ 43.25%
#C187FA color CMYK value is (23,46,0,2).
CMYK: (23,46,0,2) C23M46Y0K2 (23%,46%,0%,2%) (0.23/0.46/0.00/0.02)
C1 | 87 | FA | |
---|---|---|---|
RGB | 193 | 135 | 250 |
HSL | 270° | 92.00% | 75.49% |
HSB/HSV | 270° | 46.00% | 98.04% |
CMYK | 22.80% | 46.00% | 0.00% |
1.96% |
HEX | C1 | 87 | FA |
Decimal | 193 | 135 | 250 |
Binary | 11000001 | 10000111 | 11111010 |
Octal | 301 | 207 | 372 |
Examples of css and html codes for elements with #C187FA color. Also use rgb(193,135,250) instead hex code.
.myTextColor { color: #C187FA; }
<p style="color:#C187FA">This sample text font color is #C187FA.</p>
This text font color is #C187FA.
.myBgColor { background-color: #C187FA; }
<div style="background-color:#C187FA">Inner text</div>
This div background color is #C187FA.
.myBorderColor { border: 1px solid #C187FA; }
<div style="border:3px solid #C187FA">Div</div>
This div border color is #C187FA.
.myOpacity80 { color: #C187FA; opacity: 0.8; }
<p style="color:#C187FA;opacity:0.8;">80%</p>
Text with #C187FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C187FA;}
<p style="text-shadow: 3px 3px 1px #C187FA">Text here.</p>
This text has shadow with #C187FA color.
.textShadow {text-shadow: 3px 3px 1px #C187FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C187FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C187FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C187FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C187FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C187FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C187FA; -webkit-box-shadow: 1px 1px 3px 2px #C187FA; box-shadow: 1px 1px 3px 2px #C187FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C187FA; -webkit-box-shadow: 1px 1px 3px 2px #C187FA; box-shadow:1px 1px 3px 2px #C187FA;">
Div content here</div>
This text has color #C187FA on black background.
This text has color #C187FA on white background.
This text has black color on #C187FA background.
This text has white color on #C187FA background.