HEX: #C54959
RGB: (197,73,89)
#C54959 contains mainly red color. Web safe color of #C54959 is #CC3366 (or #C36).
#C54959 color RGB value is (197,73,89).
RGB: (197,73,89) (77%,29%,35%)
R 197 of 255 = 77%
G 73 of 255 = 29%
B 89 of 255 = 35%
R + G + B ~ 47%. #C54959 is middle color (not dark and not light).
R + G + B =
197 + 73 + 89 = 359 (100%)
R 197 of 359 ~ 54.87%
G 73 of 359 ~ 20.33%
B 89 of 359 ~ 24.79%
#C54959 color CMYK value is (0,63,55,23).
CMYK: (0,63,55,23) C0M63Y55K23 (0%,63%,55%,23%) (0.00/0.63/0.55/0.23)
C5 | 49 | 59 | |
---|---|---|---|
RGB | 197 | 73 | 89 |
HSL | 352° | 51.67% | 52.94% |
HSB/HSV | 352° | 62.94% | 77.25% |
CMYK | 0.00% | 62.94% | 54.82% |
22.75% |
HEX | C5 | 49 | 59 |
Decimal | 197 | 73 | 89 |
Binary | 11000101 | 1001001 | 1011001 |
Octal | 305 | 111 | 131 |
Examples of css and html codes for elements with #C54959 color. Also use rgb(197,73,89) instead hex code.
.myTextColor { color: #C54959; }
<p style="color:#C54959">This sample text font color is #C54959.</p>
This text font color is #C54959.
.myBgColor { background-color: #C54959; }
<div style="background-color:#C54959">Inner text</div>
This div background color is #C54959.
.myBorderColor { border: 1px solid #C54959; }
<div style="border:3px solid #C54959">Div</div>
This div border color is #C54959.
.myOpacity80 { color: #C54959; opacity: 0.8; }
<p style="color:#C54959;opacity:0.8;">80%</p>
Text with #C54959 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #C54959;}
<p style="text-shadow: 3px 3px 1px #C54959">Text here.</p>
This text has shadow with #C54959 color.
.textShadow {text-shadow: 3px 3px 1px #C54959, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #C54959, 5px 5px 20px red">Text here.</p>
This text has shadow with #C54959 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#C54959, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#C54959, Direction=45, Strength=4)">Text</p>
This text has shadow with #C54959 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #C54959; -webkit-box-shadow: 1px 1px 3px 2px #C54959; box-shadow: 1px 1px 3px 2px #C54959; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #C54959; -webkit-box-shadow: 1px 1px 3px 2px #C54959; box-shadow:1px 1px 3px 2px #C54959;">
Div content here</div>
This text has color #C54959 on black background.
This text has color #C54959 on white background.
This text has black color on #C54959 background.
This text has white color on #C54959 background.