HEX: #C972BD
RGB: (201,114,189)
#C972BD contains mainly red and blue colors. Web safe color of #C972BD is #CC66CC (or #C6C).
#C972BD color RGB value is (201,114,189).
RGB: (201,114,189) (79%,45%,74%)
R 201 of 255 = 79%
G 114 of 255 = 45%
B 189 of 255 = 74%
R + G + B ~ 66%. #C972BD is quite light color.
R + G + B =
201 + 114 + 189 = 504 (100%)
R 201 of 504 ~ 39.88%
G 114 of 504 ~ 22.62%
B 189 of 504 ~ 37.5%
#C972BD color CMYK value is (0,43,6,21).
CMYK: (0,43,6,21) C0M43Y6K21 (0%,43%,6%,21%) (0.00/0.43/0.06/0.21)
C9 | 72 | BD | |
---|---|---|---|
RGB | 201 | 114 | 189 |
HSL | 308° | 44.62% | 61.76% |
HSB/HSV | 308° | 43.28% | 78.82% |
CMYK | 0.00% | 43.28% | 5.97% |
21.18% |
HEX | C9 | 72 | BD |
Decimal | 201 | 114 | 189 |
Binary | 11001001 | 1110010 | 10111101 |
Octal | 311 | 162 | 275 |
Examples of css and html codes for elements with #C972BD color. Also use rgb(201,114,189) instead hex code.
.myTextColor { color: #C972BD; }
<p style="color:#C972BD">This sample text font color is #C972BD.</p>
This text font color is #C972BD.
.myBgColor { background-color: #C972BD; }
<div style="background-color:#C972BD">Inner text</div>
This div background color is #C972BD.
.myBorderColor { border: 1px solid #C972BD; }
<div style="border:3px solid #C972BD">Div</div>
This div border color is #C972BD.
.myOpacity80 { color: #C972BD; opacity: 0.8; }
<p style="color:#C972BD;opacity:0.8;">80%</p>
Text with #C972BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C972BD;}
<p style="text-shadow: 3px 3px 1px #C972BD">Text here.</p>
This text has shadow with #C972BD color.
.textShadow {text-shadow: 3px 3px 1px #C972BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C972BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #C972BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C972BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C972BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #C972BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C972BD; -webkit-box-shadow: 1px 1px 3px 2px #C972BD; box-shadow: 1px 1px 3px 2px #C972BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C972BD; -webkit-box-shadow: 1px 1px 3px 2px #C972BD; box-shadow:1px 1px 3px 2px #C972BD;">
Div content here</div>
This text has color #C972BD on black background.
This text has color #C972BD on white background.
This text has black color on #C972BD background.
This text has white color on #C972BD background.