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