HEX: #42375B
RGB: (66,55,91)
#42375B contains red, green and blue colors in about the same proportion. Web safe color of #42375B is #333366 (or #336).
#42375B color RGB value is (66,55,91).
RGB: (66,55,91) (26%,22%,36%)
R 66 of 255 = 26%
G 55 of 255 = 22%
B 91 of 255 = 36%
R + G + B ~ 28%. #42375B is quite dark color.
R + G + B =
66 + 55 + 91 = 212 (100%)
R 66 of 212 ~ 31.13%
G 55 of 212 ~ 25.94%
B 91 of 212 ~ 42.92%
#42375B color CMYK value is (27,40,0,64).
CMYK: (27,40,0,64) C27M40Y0K64 (27%,40%,0%,64%) (0.27/0.40/0.00/0.64)
42 | 37 | 5B | |
---|---|---|---|
RGB | 66 | 55 | 91 |
HSL | 258° | 24.66% | 28.63% |
HSB/HSV | 258° | 39.56% | 35.69% |
CMYK | 27.47% | 39.56% | 0.00% |
64.31% |
HEX | 42 | 37 | 5B |
Decimal | 66 | 55 | 91 |
Binary | 1000010 | 110111 | 1011011 |
Octal | 102 | 67 | 133 |
Examples of css and html codes for elements with #42375B color. Also use rgb(66,55,91) instead hex code.
.myTextColor { color: #42375B; }
<p style="color:#42375B">This sample text font color is #42375B.</p>
This text font color is #42375B.
.myBgColor { background-color: #42375B; }
<div style="background-color:#42375B">Inner text</div>
This div background color is #42375B.
.myBorderColor { border: 1px solid #42375B; }
<div style="border:3px solid #42375B">Div</div>
This div border color is #42375B.
.myOpacity80 { color: #42375B; opacity: 0.8; }
<p style="color:#42375B;opacity:0.8;">80%</p>
Text with #42375B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42375B;}
<p style="text-shadow: 3px 3px 1px #42375B">Text here.</p>
This text has shadow with #42375B color.
.textShadow {text-shadow: 3px 3px 1px #42375B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42375B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42375B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42375B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42375B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42375B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42375B; -webkit-box-shadow: 1px 1px 3px 2px #42375B; box-shadow: 1px 1px 3px 2px #42375B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42375B; -webkit-box-shadow: 1px 1px 3px 2px #42375B; box-shadow:1px 1px 3px 2px #42375B;">
Div content here</div>
This text has color #42375B on black background.
This text has color #42375B on white background.
This text has black color on #42375B background.
This text has white color on #42375B background.