HEX: #C97EBA
RGB: (201,126,186)
#C97EBA contains mainly red and blue colors. Web safe color of #C97EBA is #CC66CC (or #C6C).
#C97EBA color RGB value is (201,126,186).
RGB: (201,126,186) (79%,49%,73%)
R 201 of 255 = 79%
G 126 of 255 = 49%
B 186 of 255 = 73%
R + G + B ~ 67%. #C97EBA is quite light color.
R + G + B =
201 + 126 + 186 = 513 (100%)
R 201 of 513 ~ 39.18%
G 126 of 513 ~ 24.56%
B 186 of 513 ~ 36.26%
#C97EBA color CMYK value is (0,37,7,21).
CMYK: (0,37,7,21) C0M37Y7K21 (0%,37%,7%,21%) (0.00/0.37/0.07/0.21)
C9 | 7E | BA | |
---|---|---|---|
RGB | 201 | 126 | 186 |
HSL | 312° | 40.98% | 64.12% |
HSB/HSV | 312° | 37.31% | 78.82% |
CMYK | 0.00% | 37.31% | 7.46% |
21.18% |
HEX | C9 | 7E | BA |
Decimal | 201 | 126 | 186 |
Binary | 11001001 | 1111110 | 10111010 |
Octal | 311 | 176 | 272 |
Examples of css and html codes for elements with #C97EBA color. Also use rgb(201,126,186) instead hex code.
.myTextColor { color: #C97EBA; }
<p style="color:#C97EBA">This sample text font color is #C97EBA.</p>
This text font color is #C97EBA.
.myBgColor { background-color: #C97EBA; }
<div style="background-color:#C97EBA">Inner text</div>
This div background color is #C97EBA.
.myBorderColor { border: 1px solid #C97EBA; }
<div style="border:3px solid #C97EBA">Div</div>
This div border color is #C97EBA.
.myOpacity80 { color: #C97EBA; opacity: 0.8; }
<p style="color:#C97EBA;opacity:0.8;">80%</p>
Text with #C97EBA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C97EBA;}
<p style="text-shadow: 3px 3px 1px #C97EBA">Text here.</p>
This text has shadow with #C97EBA color.
.textShadow {text-shadow: 3px 3px 1px #C97EBA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C97EBA, 5px 5px 20px red">Text here.</p>
This text has shadow with #C97EBA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C97EBA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C97EBA, Direction=45, Strength=4)">Text</p>
This text has shadow with #C97EBA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C97EBA; -webkit-box-shadow: 1px 1px 3px 2px #C97EBA; box-shadow: 1px 1px 3px 2px #C97EBA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C97EBA; -webkit-box-shadow: 1px 1px 3px 2px #C97EBA; box-shadow:1px 1px 3px 2px #C97EBA;">
Div content here</div>
This text has color #C97EBA on black background.
This text has color #C97EBA on white background.
This text has black color on #C97EBA background.
This text has white color on #C97EBA background.