HEX: #C472B7
RGB: (196,114,183)
#C472B7 contains mainly red and blue colors. Web safe color of #C472B7 is #CC66CC (or #C6C).
#C472B7 color RGB value is (196,114,183).
RGB: (196,114,183) (77%,45%,72%)
R 196 of 255 = 77%
G 114 of 255 = 45%
B 183 of 255 = 72%
R + G + B ~ 65%. #C472B7 is quite light color.
R + G + B =
196 + 114 + 183 = 493 (100%)
R 196 of 493 ~ 39.76%
G 114 of 493 ~ 23.12%
B 183 of 493 ~ 37.12%
#C472B7 color CMYK value is (0,42,7,23).
CMYK: (0,42,7,23) C0M42Y7K23 (0%,42%,7%,23%) (0.00/0.42/0.07/0.23)
C4 | 72 | B7 | |
---|---|---|---|
RGB | 196 | 114 | 183 |
HSL | 310° | 41.00% | 60.78% |
HSB/HSV | 310° | 41.84% | 76.86% |
CMYK | 0.00% | 41.84% | 6.63% |
23.14% |
HEX | C4 | 72 | B7 |
Decimal | 196 | 114 | 183 |
Binary | 11000100 | 1110010 | 10110111 |
Octal | 304 | 162 | 267 |
Examples of css and html codes for elements with #C472B7 color. Also use rgb(196,114,183) instead hex code.
.myTextColor { color: #C472B7; }
<p style="color:#C472B7">This sample text font color is #C472B7.</p>
This text font color is #C472B7.
.myBgColor { background-color: #C472B7; }
<div style="background-color:#C472B7">Inner text</div>
This div background color is #C472B7.
.myBorderColor { border: 1px solid #C472B7; }
<div style="border:3px solid #C472B7">Div</div>
This div border color is #C472B7.
.myOpacity80 { color: #C472B7; opacity: 0.8; }
<p style="color:#C472B7;opacity:0.8;">80%</p>
Text with #C472B7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C472B7;}
<p style="text-shadow: 3px 3px 1px #C472B7">Text here.</p>
This text has shadow with #C472B7 color.
.textShadow {text-shadow: 3px 3px 1px #C472B7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C472B7, 5px 5px 20px red">Text here.</p>
This text has shadow with #C472B7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C472B7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C472B7, Direction=45, Strength=4)">Text</p>
This text has shadow with #C472B7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C472B7; -webkit-box-shadow: 1px 1px 3px 2px #C472B7; box-shadow: 1px 1px 3px 2px #C472B7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C472B7; -webkit-box-shadow: 1px 1px 3px 2px #C472B7; box-shadow:1px 1px 3px 2px #C472B7;">
Div content here</div>
This text has color #C472B7 on black background.
This text has color #C472B7 on white background.
This text has black color on #C472B7 background.
This text has white color on #C472B7 background.