HEX: #420D4D
RGB: (66,13,77)
#420D4D contains mainly red and blue colors. Web safe color of #420D4D is #330033 (or #303).
#420D4D color RGB value is (66,13,77).
RGB: (66,13,77) (26%,5%,30%)
R 66 of 255 = 26%
G 13 of 255 = 5%
B 77 of 255 = 30%
R + G + B ~ 20%. #420D4D is dark color.
R + G + B =
66 + 13 + 77 = 156 (100%)
R 66 of 156 ~ 42.31%
G 13 of 156 ~ 8.33%
B 77 of 156 ~ 49.36%
#420D4D color CMYK value is (14,83,0,70).
CMYK: (14,83,0,70) C14M83Y0K70 (14%,83%,0%,70%) (0.14/0.83/0.00/0.70)
42 | 0D | 4D | |
---|---|---|---|
RGB | 66 | 13 | 77 |
HSL | 290° | 71.11% | 17.65% |
HSB/HSV | 290° | 83.12% | 30.20% |
CMYK | 14.29% | 83.12% | 0.00% |
69.80% |
HEX | 42 | 0D | 4D |
Decimal | 66 | 13 | 77 |
Binary | 1000010 | 1101 | 1001101 |
Octal | 102 | 15 | 115 |
Examples of css and html codes for elements with #420D4D color. Also use rgb(66,13,77) instead hex code.
.myTextColor { color: #420D4D; }
<p style="color:#420D4D">This sample text font color is #420D4D.</p>
This text font color is #420D4D.
.myBgColor { background-color: #420D4D; }
<div style="background-color:#420D4D">Inner text</div>
This div background color is #420D4D.
.myBorderColor { border: 1px solid #420D4D; }
<div style="border:3px solid #420D4D">Div</div>
This div border color is #420D4D.
.myOpacity80 { color: #420D4D; opacity: 0.8; }
<p style="color:#420D4D;opacity:0.8;">80%</p>
Text with #420D4D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #420D4D;}
<p style="text-shadow: 3px 3px 1px #420D4D">Text here.</p>
This text has shadow with #420D4D color.
.textShadow {text-shadow: 3px 3px 1px #420D4D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #420D4D, 5px 5px 20px red">Text here.</p>
This text has shadow with #420D4D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#420D4D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#420D4D, Direction=45, Strength=4)">Text</p>
This text has shadow with #420D4D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #420D4D; -webkit-box-shadow: 1px 1px 3px 2px #420D4D; box-shadow: 1px 1px 3px 2px #420D4D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #420D4D; -webkit-box-shadow: 1px 1px 3px 2px #420D4D; box-shadow:1px 1px 3px 2px #420D4D;">
Div content here</div>
This text has color #420D4D on black background.
This text has color #420D4D on white background.
This text has black color on #420D4D background.
This text has white color on #420D4D background.