HEX: #42137B
RGB: (66,19,123)
#42137B contains mainly red and blue colors. Web safe color of #42137B is #330066 (or #306).
#42137B color RGB value is (66,19,123).
RGB: (66,19,123)
(26%, 7%, 48%)
R 66 of 255 = 26%
G 19 of 255 = 7%
B 123 of 255 = 48%
R + G + B ~ 27%. #42137B is quite dark color.
R + G + B = 66 + 19 + 123 = 208 (100%)
R 66 of 208 ~ 31.73%
G 19 of 208 ~ 9.13%
B 123 of 208 ~ 59.13'%
#42137B color CMYK value is (46,85,0,52).
CMYK: (46,85,0,52)
C46M85Y0K52 (46%, 85%, 0%, 52%)
(0.46 / 0.85 / 0.00 / 0.52)
Color #42137B in popluar color models
42 | 13 | 7B | |
---|---|---|---|
RGB | 66 | 19 | 123 |
HSL | 267° | 73.24% | 27.84% |
HSB/HSV | 267° | 84.55% | 48.24% |
CMYK | 46.34% | 84.55% | 0.00% |
51.76% |
Color #42137B in popluar number systems.
HEX | 42 | 13 | 7B |
Decimal | 66 | 19 | 123 |
Binary | 1000010 | 10011 | 1111011 |
Octal | 102 | 23 | 173 |
Shades of #42137B
Tints of #42137B
Examples of css and html codes for elements with #42137B color. Also use rgb(66,19,123) instead hex code.
.myTextColor { color: #42137B; }
<p style="color:#42137B">This sample text font color is #42137B.</p>
This text font color is #42137B.
.myBgColor { background-color: #42137B; }
<div style="background-color:#42137B">Inner text</div>
This div background color is #42137B.
.myBorderColor { border: 1px solid #42137B; }
<div style="border:3px solid #42137B">Div</div>
This div border color is #42137B.
.myOpacity80 { color: #42137B; opacity: 0.8; }
<p style="color:#42137B;opacity:0.8;">80%</p>
Text with #42137B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42137B;}
<p style="text-shadow: 3px 3px 1px #42137B">Text here.</p>
This text has shadow with #42137B color.
.textShadow {text-shadow: 3px 3px 1px #42137B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42137B, 5px 5px 20px red">Text here.</p>
This text has shadow with #42137B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42137B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42137B, Direction=45, Strength=4)">Text</p>
This text has shadow with #42137B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42137B;
-webkit-box-shadow: 1px 1px 3px 2px #42137B;
box-shadow: 1px 1px 3px 2px #42137B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42137B; -webkit-box-shadow: 1px 1px 3px 2px #42137B; box-shadow:1px 1px 3px 2px #42137B;">
Div content here
</div>
This text has color #42137B on black background.
This text has color #42137B on white background.
This text has black color on #42137B background.
This text has white color on #42137B background.
Complementary color for #hex is #BDEC84.