HEX: #371531
RGB: (55,21,49)
#371531 contains red, green and blue colors in about the same proportion. Web safe color of #371531 is #330033 (or #303).
#371531 color RGB value is (55,21,49).
RGB: (55,21,49) (22%,8%,19%)
R 55 of 255 = 22%
G 21 of 255 = 8%
B 49 of 255 = 19%
R + G + B ~ 16%. #371531 is dark color.
R + G + B =
55 + 21 + 49 = 125 (100%)
R 55 of 125 ~ 44%
G 21 of 125 ~ 16.8%
B 49 of 125 ~ 39.2%
#371531 color CMYK value is (0,62,11,78).
CMYK: (0,62,11,78) C0M62Y11K78 (0%,62%,11%,78%) (0.00/0.62/0.11/0.78)
37 | 15 | 31 | |
---|---|---|---|
RGB | 55 | 21 | 49 |
HSL | 311° | 44.74% | 14.90% |
HSB/HSV | 311° | 61.82% | 21.57% |
CMYK | 0.00% | 61.82% | 10.91% |
78.43% |
HEX | 37 | 15 | 31 |
Decimal | 55 | 21 | 49 |
Binary | 110111 | 10101 | 110001 |
Octal | 67 | 25 | 61 |
Examples of css and html codes for elements with #371531 color. Also use rgb(55,21,49) instead hex code.
.myTextColor { color: #371531; }
<p style="color:#371531">This sample text font color is #371531.</p>
This text font color is #371531.
.myBgColor { background-color: #371531; }
<div style="background-color:#371531">Inner text</div>
This div background color is #371531.
.myBorderColor { border: 1px solid #371531; }
<div style="border:3px solid #371531">Div</div>
This div border color is #371531.
.myOpacity80 { color: #371531; opacity: 0.8; }
<p style="color:#371531;opacity:0.8;">80%</p>
Text with #371531 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #371531;}
<p style="text-shadow: 3px 3px 1px #371531">Text here.</p>
This text has shadow with #371531 color.
.textShadow {text-shadow: 3px 3px 1px #371531, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #371531, 5px 5px 20px red">Text here.</p>
This text has shadow with #371531 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#371531, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#371531, Direction=45, Strength=4)">Text</p>
This text has shadow with #371531 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #371531; -webkit-box-shadow: 1px 1px 3px 2px #371531; box-shadow: 1px 1px 3px 2px #371531; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #371531; -webkit-box-shadow: 1px 1px 3px 2px #371531; box-shadow:1px 1px 3px 2px #371531;">
Div content here</div>
This text has color #371531 on black background.
This text has color #371531 on white background.
This text has black color on #371531 background.
This text has white color on #371531 background.