HEX: #C5057B
RGB: (197,5,123)
#C5057B contains mainly red color. Web safe color of #C5057B is #CC0066 (or #C06).
#C5057B color RGB value is (197,5,123).
RGB: (197,5,123) (77%,2%,48%)
R 197 of 255 = 77%
G 5 of 255 = 2%
B 123 of 255 = 48%
R + G + B ~ 42%. #C5057B is middle color (not dark and not light).
R + G + B =
197 + 5 + 123 = 325 (100%)
R 197 of 325 ~ 60.62%
G 5 of 325 ~ 1.54%
B 123 of 325 ~ 37.85%
#C5057B color CMYK value is (0,97,38,23).
CMYK: (0,97,38,23) C0M97Y38K23 (0%,97%,38%,23%) (0.00/0.97/0.38/0.23)
C5 | 05 | 7B | |
---|---|---|---|
RGB | 197 | 5 | 123 |
HSL | 323° | 95.05% | 39.61% |
HSB/HSV | 323° | 97.46% | 77.25% |
CMYK | 0.00% | 97.46% | 37.56% |
22.75% |
HEX | C5 | 05 | 7B |
Decimal | 197 | 5 | 123 |
Binary | 11000101 | 101 | 1111011 |
Octal | 305 | 5 | 173 |
Examples of css and html codes for elements with #C5057B color. Also use rgb(197,5,123) instead hex code.
.myTextColor { color: #C5057B; }
<p style="color:#C5057B">This sample text font color is #C5057B.</p>
This text font color is #C5057B.
.myBgColor { background-color: #C5057B; }
<div style="background-color:#C5057B">Inner text</div>
This div background color is #C5057B.
.myBorderColor { border: 1px solid #C5057B; }
<div style="border:3px solid #C5057B">Div</div>
This div border color is #C5057B.
.myOpacity80 { color: #C5057B; opacity: 0.8; }
<p style="color:#C5057B;opacity:0.8;">80%</p>
Text with #C5057B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C5057B;}
<p style="text-shadow: 3px 3px 1px #C5057B">Text here.</p>
This text has shadow with #C5057B color.
.textShadow {text-shadow: 3px 3px 1px #C5057B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C5057B, 5px 5px 20px red">Text here.</p>
This text has shadow with #C5057B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C5057B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C5057B, Direction=45, Strength=4)">Text</p>
This text has shadow with #C5057B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C5057B; -webkit-box-shadow: 1px 1px 3px 2px #C5057B; box-shadow: 1px 1px 3px 2px #C5057B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C5057B; -webkit-box-shadow: 1px 1px 3px 2px #C5057B; box-shadow:1px 1px 3px 2px #C5057B;">
Div content here</div>
This text has color #C5057B on black background.
This text has color #C5057B on white background.
This text has black color on #C5057B background.
This text has white color on #C5057B background.