HEX: #42377B
RGB: (66,55,123)
#42377B contains mainly red and blue colors. Web safe color of #42377B is #333366 (or #336).
#42377B color RGB value is (66,55,123).
RGB: (66,55,123) (26%,22%,48%)
R 66 of 255 = 26%
G 55 of 255 = 22%
B 123 of 255 = 48%
R + G + B ~ 32%. #42377B is quite dark color.
R + G + B =
66 + 55 + 123 = 244 (100%)
R 66 of 244 ~ 27.05%
G 55 of 244 ~ 22.54%
B 123 of 244 ~ 50.41%
#42377B color CMYK value is (46,55,0,52).
CMYK: (46,55,0,52) C46M55Y0K52 (46%,55%,0%,52%) (0.46/0.55/0.00/0.52)
42 | 37 | 7B | |
---|---|---|---|
RGB | 66 | 55 | 123 |
HSL | 250° | 38.20% | 34.90% |
HSB/HSV | 250° | 55.28% | 48.24% |
CMYK | 46.34% | 55.28% | 0.00% |
51.76% |
HEX | 42 | 37 | 7B |
Decimal | 66 | 55 | 123 |
Binary | 1000010 | 110111 | 1111011 |
Octal | 102 | 67 | 173 |
Examples of css and html codes for elements with #42377B color. Also use rgb(66,55,123) instead hex code.
.myTextColor { color: #42377B; }
<p style="color:#42377B">This sample text font color is #42377B.</p>
This text font color is #42377B.
.myBgColor { background-color: #42377B; }
<div style="background-color:#42377B">Inner text</div>
This div background color is #42377B.
.myBorderColor { border: 1px solid #42377B; }
<div style="border:3px solid #42377B">Div</div>
This div border color is #42377B.
.myOpacity80 { color: #42377B; opacity: 0.8; }
<p style="color:#42377B;opacity:0.8;">80%</p>
Text with #42377B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42377B;}
<p style="text-shadow: 3px 3px 1px #42377B">Text here.</p>
This text has shadow with #42377B color.
.textShadow {text-shadow: 3px 3px 1px #42377B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42377B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42377B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42377B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42377B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42377B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42377B; -webkit-box-shadow: 1px 1px 3px 2px #42377B; box-shadow: 1px 1px 3px 2px #42377B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42377B; -webkit-box-shadow: 1px 1px 3px 2px #42377B; box-shadow:1px 1px 3px 2px #42377B;">
Div content here</div>
This text has color #42377B on black background.
This text has color #42377B on white background.
This text has black color on #42377B background.
This text has white color on #42377B background.