HEX: #874F72
RGB: (135,79,114)
#874F72 contains red, green and blue colors in about the same proportion. Web safe color of #874F72 is #996666 (or #966).
#874F72 color RGB value is (135,79,114).
RGB: (135,79,114) (53%,31%,45%)
R 135 of 255 = 53%
G 79 of 255 = 31%
B 114 of 255 = 45%
R + G + B ~ 43%. #874F72 is middle color (not dark and not light).
R + G + B =
135 + 79 + 114 = 328 (100%)
R 135 of 328 ~ 41.16%
G 79 of 328 ~ 24.09%
B 114 of 328 ~ 34.76%
#874F72 color CMYK value is (0,41,16,47).
CMYK: (0,41,16,47) C0M41Y16K47 (0%,41%,16%,47%) (0.00/0.41/0.16/0.47)
87 | 4F | 72 | |
---|---|---|---|
RGB | 135 | 79 | 114 |
HSL | 323° | 26.17% | 41.96% |
HSB/HSV | 323° | 41.48% | 52.94% |
CMYK | 0.00% | 41.48% | 15.56% |
47.06% |
HEX | 87 | 4F | 72 |
Decimal | 135 | 79 | 114 |
Binary | 10000111 | 1001111 | 1110010 |
Octal | 207 | 117 | 162 |
Examples of css and html codes for elements with #874F72 color. Also use rgb(135,79,114) instead hex code.
.myTextColor { color: #874F72; }
<p style="color:#874F72">This sample text font color is #874F72.</p>
This text font color is #874F72.
.myBgColor { background-color: #874F72; }
<div style="background-color:#874F72">Inner text</div>
This div background color is #874F72.
.myBorderColor { border: 1px solid #874F72; }
<div style="border:3px solid #874F72">Div</div>
This div border color is #874F72.
.myOpacity80 { color: #874F72; opacity: 0.8; }
<p style="color:#874F72;opacity:0.8;">80%</p>
Text with #874F72 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #874F72;}
<p style="text-shadow: 3px 3px 1px #874F72">Text here.</p>
This text has shadow with #874F72 color.
.textShadow {text-shadow: 3px 3px 1px #874F72, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #874F72, 5px 5px 20px red">Text here.</p>
This text has shadow with #874F72 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#874F72, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#874F72, Direction=45, Strength=4)">Text</p>
This text has shadow with #874F72 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #874F72; -webkit-box-shadow: 1px 1px 3px 2px #874F72; box-shadow: 1px 1px 3px 2px #874F72; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #874F72; -webkit-box-shadow: 1px 1px 3px 2px #874F72; box-shadow:1px 1px 3px 2px #874F72;">
Div content here</div>
This text has color #874F72 on black background.
This text has color #874F72 on white background.
This text has black color on #874F72 background.
This text has white color on #874F72 background.