HEX: #42999D
RGB: (66,153,157)
#42999D contains mainly green and blue colors. Web safe color of #42999D is #339999 (or #399).
#42999D color RGB value is (66,153,157).
RGB: (66,153,157) (26%,60%,62%)
R 66 of 255 = 26%
G 153 of 255 = 60%
B 157 of 255 = 62%
R + G + B ~ 49%. #42999D is middle color (not dark and not light).
R + G + B =
66 + 153 + 157 = 376 (100%)
R 66 of 376 ~ 17.55%
G 153 of 376 ~ 40.69%
B 157 of 376 ~ 41.76%
#42999D color CMYK value is (58,3,0,38).
CMYK: (58,3,0,38) C58M3Y0K38 (58%,3%,0%,38%) (0.58/0.03/0.00/0.38)
42 | 99 | 9D | |
---|---|---|---|
RGB | 66 | 153 | 157 |
HSL | 183° | 40.81% | 43.73% |
HSB/HSV | 183° | 57.96% | 61.57% |
CMYK | 57.96% | 2.55% | 0.00% |
38.43% |
HEX | 42 | 99 | 9D |
Decimal | 66 | 153 | 157 |
Binary | 1000010 | 10011001 | 10011101 |
Octal | 102 | 231 | 235 |
Examples of css and html codes for elements with #42999D color. Also use rgb(66,153,157) instead hex code.
.myTextColor { color: #42999D; }
<p style="color:#42999D">This sample text font color is #42999D.</p>
This text font color is #42999D.
.myBgColor { background-color: #42999D; }
<div style="background-color:#42999D">Inner text</div>
This div background color is #42999D.
.myBorderColor { border: 1px solid #42999D; }
<div style="border:3px solid #42999D">Div</div>
This div border color is #42999D.
.myOpacity80 { color: #42999D; opacity: 0.8; }
<p style="color:#42999D;opacity:0.8;">80%</p>
Text with #42999D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42999D;}
<p style="text-shadow: 3px 3px 1px #42999D">Text here.</p>
This text has shadow with #42999D color.
.textShadow {text-shadow: 3px 3px 1px #42999D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42999D, 5px 5px 20px red">Text here.</p>
This text has shadow with #42999D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42999D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42999D, Direction=45, Strength=4)">Text</p>
This text has shadow with #42999D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42999D; -webkit-box-shadow: 1px 1px 3px 2px #42999D; box-shadow: 1px 1px 3px 2px #42999D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42999D; -webkit-box-shadow: 1px 1px 3px 2px #42999D; box-shadow:1px 1px 3px 2px #42999D;">
Div content here</div>
This text has color #42999D on black background.
This text has color #42999D on white background.
This text has black color on #42999D background.
This text has white color on #42999D background.