HEX: #42436D
RGB: (66,67,109)
#42436D contains red, green and blue colors in about the same proportion. Web safe color of #42436D is #333366 (or #336).
#42436D color RGB value is (66,67,109).
RGB: (66,67,109) (26%,26%,43%)
R 66 of 255 = 26%
G 67 of 255 = 26%
B 109 of 255 = 43%
R + G + B ~ 32%. #42436D is quite dark color.
R + G + B =
66 + 67 + 109 = 242 (100%)
R 66 of 242 ~ 27.27%
G 67 of 242 ~ 27.69%
B 109 of 242 ~ 45.04%
#42436D color CMYK value is (39,39,0,57).
CMYK: (39,39,0,57) C39M39Y0K57 (39%,39%,0%,57%) (0.39/0.39/0.00/0.57)
42 | 43 | 6D | |
---|---|---|---|
RGB | 66 | 67 | 109 |
HSL | 239° | 24.57% | 34.31% |
HSB/HSV | 239° | 39.45% | 42.75% |
CMYK | 39.45% | 38.53% | 0.00% |
57.25% |
HEX | 42 | 43 | 6D |
Decimal | 66 | 67 | 109 |
Binary | 1000010 | 1000011 | 1101101 |
Octal | 102 | 103 | 155 |
Examples of css and html codes for elements with #42436D color. Also use rgb(66,67,109) instead hex code.
.myTextColor { color: #42436D; }
<p style="color:#42436D">This sample text font color is #42436D.</p>
This text font color is #42436D.
.myBgColor { background-color: #42436D; }
<div style="background-color:#42436D">Inner text</div>
This div background color is #42436D.
.myBorderColor { border: 1px solid #42436D; }
<div style="border:3px solid #42436D">Div</div>
This div border color is #42436D.
.myOpacity80 { color: #42436D; opacity: 0.8; }
<p style="color:#42436D;opacity:0.8;">80%</p>
Text with #42436D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42436D;}
<p style="text-shadow: 3px 3px 1px #42436D">Text here.</p>
This text has shadow with #42436D color.
.textShadow {text-shadow: 3px 3px 1px #42436D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42436D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42436D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42436D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42436D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42436D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42436D; -webkit-box-shadow: 1px 1px 3px 2px #42436D; box-shadow: 1px 1px 3px 2px #42436D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42436D; -webkit-box-shadow: 1px 1px 3px 2px #42436D; box-shadow:1px 1px 3px 2px #42436D;">
Div content here</div>
This text has color #42436D on black background.
This text has color #42436D on white background.
This text has black color on #42436D background.
This text has white color on #42436D background.