HEX: #C97CEA
RGB: (201,124,234)
#C97CEA contains mainly red and blue colors. Web safe color of #C97CEA is #CC66FF (or #C6F).
#C97CEA color RGB value is (201,124,234).
RGB: (201,124,234) (79%,49%,92%)
R 201 of 255 = 79%
G 124 of 255 = 49%
B 234 of 255 = 92%
R + G + B ~ 73%. #C97CEA is quite light color.
R + G + B =
201 + 124 + 234 = 559 (100%)
R 201 of 559 ~ 35.96%
G 124 of 559 ~ 22.18%
B 234 of 559 ~ 41.86%
#C97CEA color CMYK value is (14,47,0,8).
CMYK: (14,47,0,8) C14M47Y0K8 (14%,47%,0%,8%) (0.14/0.47/0.00/0.08)
C9 | 7C | EA | |
---|---|---|---|
RGB | 201 | 124 | 234 |
HSL | 282° | 72.37% | 70.20% |
HSB/HSV | 282° | 47.01% | 91.76% |
CMYK | 14.10% | 47.01% | 0.00% |
8.24% |
HEX | C9 | 7C | EA |
Decimal | 201 | 124 | 234 |
Binary | 11001001 | 1111100 | 11101010 |
Octal | 311 | 174 | 352 |
Examples of css and html codes for elements with #C97CEA color. Also use rgb(201,124,234) instead hex code.
.myTextColor { color: #C97CEA; }
<p style="color:#C97CEA">This sample text font color is #C97CEA.</p>
This text font color is #C97CEA.
.myBgColor { background-color: #C97CEA; }
<div style="background-color:#C97CEA">Inner text</div>
This div background color is #C97CEA.
.myBorderColor { border: 1px solid #C97CEA; }
<div style="border:3px solid #C97CEA">Div</div>
This div border color is #C97CEA.
.myOpacity80 { color: #C97CEA; opacity: 0.8; }
<p style="color:#C97CEA;opacity:0.8;">80%</p>
Text with #C97CEA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C97CEA;}
<p style="text-shadow: 3px 3px 1px #C97CEA">Text here.</p>
This text has shadow with #C97CEA color.
.textShadow {text-shadow: 3px 3px 1px #C97CEA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C97CEA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C97CEA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C97CEA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C97CEA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C97CEA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C97CEA; -webkit-box-shadow: 1px 1px 3px 2px #C97CEA; box-shadow: 1px 1px 3px 2px #C97CEA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C97CEA; -webkit-box-shadow: 1px 1px 3px 2px #C97CEA; box-shadow:1px 1px 3px 2px #C97CEA;">
Div content here</div>
This text has color #C97CEA on black background.
This text has color #C97CEA on white background.
This text has black color on #C97CEA background.
This text has white color on #C97CEA background.