HEX: #42757A
RGB: (66,117,122)
#42757A contains red, green and blue colors in about the same proportion. Web safe color of #42757A is #336666 (or #366).
#42757A color RGB value is (66,117,122).
RGB: (66,117,122)
(26%, 46%, 48%)
R 66 of 255 = 26%
G 117 of 255 = 46%
B 122 of 255 = 48%
R + G + B ~ 40%. #42757A is middle color (not dark and not light).
R + G + B = 66 + 117 + 122 = 305 (100%)
R 66 of 305 ~ 21.64%
G 117 of 305 ~ 38.36%
B 122 of 305 ~ 40'%
#42757A color CMYK value is (46,4,0,52).
CMYK: (46,4,0,52) C46M4Y0K52 (46%,4%,0%,52%) (0.46/0.04/0.00/0.52)
Color #42757A in popluar color models
42 | 75 | 7A | |
---|---|---|---|
RGB | 66 | 117 | 122 |
HSL | 185° | 29.79% | 36.86% |
HSB/HSV | 185° | 45.90% | 47.84% |
CMYK | 45.90% | 4.10% | 0.00% |
52.16% |
Color #42757A in popluar number systems.
HEX | 42 | 75 | 7A |
Decimal | 66 | 117 | 122 |
Binary | 1000010 | 1110101 | 1111010 |
Octal | 102 | 165 | 172 |
Shades of #42757A
Tints of #42757A
Examples of css and html codes for elements with #42757A color. Also use rgb(66,117,122) instead hex code.
.myTextColor { color: #42757A; }
<p style="color:#42757A">This sample text font color is #42757A.</p>
This text font color is #42757A.
.myBgColor { background-color: #42757A; }
<div style="background-color:#42757A">Inner text</div>
This div background color is #42757A.
.myBorderColor { border: 1px solid #42757A; }
<div style="border:3px solid #42757A">Div</div>
This div border color is #42757A.
.myOpacity80 { color: #42757A; opacity: 0.8; }
<p style="color:#42757A;opacity:0.8;">80%</p>
Text with #42757A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42757A;}
<p style="text-shadow: 3px 3px 1px #42757A">Text here.</p>
This text has shadow with #42757A color.
.textShadow {text-shadow: 3px 3px 1px #42757A', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42757A, 5px 5px 20px red">Text here.</p>
This text has shadow with #42757A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42757A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42757A, Direction=45, Strength=4)">Text</p>
This text has shadow with #42757A and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #42757A;
-webkit-box-shadow: 1px 1px 3px 2px #42757A;
box-shadow: 1px 1px 3px 2px #42757A;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #42757A; -webkit-box-shadow: 1px 1px 3px 2px #42757A; box-shadow:1px 1px 3px 2px #42757A;">
Div content here
</div>
This text has color #42757A on black background.
This text has color #42757A on white background.
This text has black color on #42757A background.
This text has white color on #42757A background.
Complementary color for #hex is #BD8A85.