HEX: #C72F5A
RGB: (199,47,90)
#C72F5A contains mainly red color. Web safe color of #C72F5A is #CC3366 (or #C36).
#C72F5A color RGB value is (199,47,90).
RGB: (199,47,90) (78%,18%,35%)
R 199 of 255 = 78%
G 47 of 255 = 18%
B 90 of 255 = 35%
R + G + B ~ 44%. #C72F5A is middle color (not dark and not light).
R + G + B =
199 + 47 + 90 = 336 (100%)
R 199 of 336 ~ 59.23%
G 47 of 336 ~ 13.99%
B 90 of 336 ~ 26.79%
#C72F5A color CMYK value is (0,76,55,22).
CMYK: (0,76,55,22) C0M76Y55K22 (0%,76%,55%,22%) (0.00/0.76/0.55/0.22)
C7 | 2F | 5A | |
---|---|---|---|
RGB | 199 | 47 | 90 |
HSL | 343° | 61.79% | 48.24% |
HSB/HSV | 343° | 76.38% | 78.04% |
CMYK | 0.00% | 76.38% | 54.77% |
21.96% |
HEX | C7 | 2F | 5A |
Decimal | 199 | 47 | 90 |
Binary | 11000111 | 101111 | 1011010 |
Octal | 307 | 57 | 132 |
Examples of css and html codes for elements with #C72F5A color. Also use rgb(199,47,90) instead hex code.
.myTextColor { color: #C72F5A; }
<p style="color:#C72F5A">This sample text font color is #C72F5A.</p>
This text font color is #C72F5A.
.myBgColor { background-color: #C72F5A; }
<div style="background-color:#C72F5A">Inner text</div>
This div background color is #C72F5A.
.myBorderColor { border: 1px solid #C72F5A; }
<div style="border:3px solid #C72F5A">Div</div>
This div border color is #C72F5A.
.myOpacity80 { color: #C72F5A; opacity: 0.8; }
<p style="color:#C72F5A;opacity:0.8;">80%</p>
Text with #C72F5A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C72F5A;}
<p style="text-shadow: 3px 3px 1px #C72F5A">Text here.</p>
This text has shadow with #C72F5A color.
.textShadow {text-shadow: 3px 3px 1px #C72F5A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C72F5A, 5px 5px 20px red">Text here.</p>
This text has shadow with #C72F5A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C72F5A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C72F5A, Direction=45, Strength=4)">Text</p>
This text has shadow with #C72F5A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C72F5A; -webkit-box-shadow: 1px 1px 3px 2px #C72F5A; box-shadow: 1px 1px 3px 2px #C72F5A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C72F5A; -webkit-box-shadow: 1px 1px 3px 2px #C72F5A; box-shadow:1px 1px 3px 2px #C72F5A;">
Div content here</div>
This text has color #C72F5A on black background.
This text has color #C72F5A on white background.
This text has black color on #C72F5A background.
This text has white color on #C72F5A background.