HEX: #420B37
RGB: (66,11,55)
#420B37 contains red, green and blue colors in about the same proportion. Web safe color of #420B37 is #330033 (or #303).
#420B37 color RGB value is (66,11,55).
RGB: (66,11,55) (26%,4%,22%)
R 66 of 255 = 26%
G 11 of 255 = 4%
B 55 of 255 = 22%
R + G + B ~ 17%. #420B37 is dark color.
R + G + B =
66 + 11 + 55 = 132 (100%)
R 66 of 132 ~ 50%
G 11 of 132 ~ 8.33%
B 55 of 132 ~ 41.67%
#420B37 color CMYK value is (0,83,17,74).
CMYK: (0,83,17,74) C0M83Y17K74 (0%,83%,17%,74%) (0.00/0.83/0.17/0.74)
42 | 0B | 37 | |
---|---|---|---|
RGB | 66 | 11 | 55 |
HSL | 312° | 71.43% | 15.10% |
HSB/HSV | 312° | 83.33% | 25.88% |
CMYK | 0.00% | 83.33% | 16.67% |
74.12% |
HEX | 42 | 0B | 37 |
Decimal | 66 | 11 | 55 |
Binary | 1000010 | 1011 | 110111 |
Octal | 102 | 13 | 67 |
Examples of css and html codes for elements with #420B37 color. Also use rgb(66,11,55) instead hex code.
.myTextColor { color: #420B37; }
<p style="color:#420B37">This sample text font color is #420B37.</p>
This text font color is #420B37.
.myBgColor { background-color: #420B37; }
<div style="background-color:#420B37">Inner text</div>
This div background color is #420B37.
.myBorderColor { border: 1px solid #420B37; }
<div style="border:3px solid #420B37">Div</div>
This div border color is #420B37.
.myOpacity80 { color: #420B37; opacity: 0.8; }
<p style="color:#420B37;opacity:0.8;">80%</p>
Text with #420B37 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #420B37;}
<p style="text-shadow: 3px 3px 1px #420B37">Text here.</p>
This text has shadow with #420B37 color.
.textShadow {text-shadow: 3px 3px 1px #420B37, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #420B37, 5px 5px 20px red">Text here.</p>
This text has shadow with #420B37 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#420B37, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#420B37, Direction=45, Strength=4)">Text</p>
This text has shadow with #420B37 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #420B37; -webkit-box-shadow: 1px 1px 3px 2px #420B37; box-shadow: 1px 1px 3px 2px #420B37; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #420B37; -webkit-box-shadow: 1px 1px 3px 2px #420B37; box-shadow:1px 1px 3px 2px #420B37;">
Div content here</div>
This text has color #420B37 on black background.
This text has color #420B37 on white background.
This text has black color on #420B37 background.
This text has white color on #420B37 background.