HEX: #C987F2
RGB: (201,135,242)
#C987F2 contains mainly red and blue colors. Web safe color of #C987F2 is #CC99FF (or #C9F).
#C987F2 color RGB value is (201,135,242).
RGB: (201,135,242) (79%,53%,95%)
R 201 of 255 = 79%
G 135 of 255 = 53%
B 242 of 255 = 95%
R + G + B ~ 76%. #C987F2 is quite light color.
R + G + B =
201 + 135 + 242 = 578 (100%)
R 201 of 578 ~ 34.78%
G 135 of 578 ~ 23.36%
B 242 of 578 ~ 41.87%
#C987F2 color CMYK value is (17,44,0,5).
CMYK: (17,44,0,5) C17M44Y0K5 (17%,44%,0%,5%) (0.17/0.44/0.00/0.05)
C9 | 87 | F2 | |
---|---|---|---|
RGB | 201 | 135 | 242 |
HSL | 277° | 80.45% | 73.92% |
HSB/HSV | 277° | 44.21% | 94.90% |
CMYK | 16.94% | 44.21% | 0.00% |
5.10% |
HEX | C9 | 87 | F2 |
Decimal | 201 | 135 | 242 |
Binary | 11001001 | 10000111 | 11110010 |
Octal | 311 | 207 | 362 |
Examples of css and html codes for elements with #C987F2 color. Also use rgb(201,135,242) instead hex code.
.myTextColor { color: #C987F2; }
<p style="color:#C987F2">This sample text font color is #C987F2.</p>
This text font color is #C987F2.
.myBgColor { background-color: #C987F2; }
<div style="background-color:#C987F2">Inner text</div>
This div background color is #C987F2.
.myBorderColor { border: 1px solid #C987F2; }
<div style="border:3px solid #C987F2">Div</div>
This div border color is #C987F2.
.myOpacity80 { color: #C987F2; opacity: 0.8; }
<p style="color:#C987F2;opacity:0.8;">80%</p>
Text with #C987F2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C987F2;}
<p style="text-shadow: 3px 3px 1px #C987F2">Text here.</p>
This text has shadow with #C987F2 color.
.textShadow {text-shadow: 3px 3px 1px #C987F2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C987F2, 5px 5px 20px red">Text here.</p>
This text has shadow with #C987F2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C987F2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C987F2, Direction=45, Strength=4)">Text</p>
This text has shadow with #C987F2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C987F2; -webkit-box-shadow: 1px 1px 3px 2px #C987F2; box-shadow: 1px 1px 3px 2px #C987F2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C987F2; -webkit-box-shadow: 1px 1px 3px 2px #C987F2; box-shadow:1px 1px 3px 2px #C987F2;">
Div content here</div>
This text has color #C987F2 on black background.
This text has color #C987F2 on white background.
This text has black color on #C987F2 background.
This text has white color on #C987F2 background.