HEX: #42688C
RGB: (66,104,140)
#42688C contains mainly green and blue colors. Web safe color of #42688C is #336699 (or #369).
#42688C color RGB value is (66,104,140).
RGB: (66,104,140) (26%,41%,55%)
R 66 of 255 = 26%
G 104 of 255 = 41%
B 140 of 255 = 55%
R + G + B ~ 41%. #42688C is middle color (not dark and not light).
R + G + B =
66 + 104 + 140 = 310 (100%)
R 66 of 310 ~ 21.29%
G 104 of 310 ~ 33.55%
B 140 of 310 ~ 45.16%
#42688C color CMYK value is (53,26,0,45).
CMYK: (53,26,0,45) C53M26Y0K45 (53%,26%,0%,45%) (0.53/0.26/0.00/0.45)
42 | 68 | 8C | |
---|---|---|---|
RGB | 66 | 104 | 140 |
HSL | 209° | 35.92% | 40.39% |
HSB/HSV | 209° | 52.86% | 54.90% |
CMYK | 52.86% | 25.71% | 0.00% |
45.10% |
HEX | 42 | 68 | 8C |
Decimal | 66 | 104 | 140 |
Binary | 1000010 | 1101000 | 10001100 |
Octal | 102 | 150 | 214 |
Examples of css and html codes for elements with #42688C color. Also use rgb(66,104,140) instead hex code.
.myTextColor { color: #42688C; }
<p style="color:#42688C">This sample text font color is #42688C.</p>
This text font color is #42688C.
.myBgColor { background-color: #42688C; }
<div style="background-color:#42688C">Inner text</div>
This div background color is #42688C.
.myBorderColor { border: 1px solid #42688C; }
<div style="border:3px solid #42688C">Div</div>
This div border color is #42688C.
.myOpacity80 { color: #42688C; opacity: 0.8; }
<p style="color:#42688C;opacity:0.8;">80%</p>
Text with #42688C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #42688C;}
<p style="text-shadow: 3px 3px 1px #42688C">Text here.</p>
This text has shadow with #42688C color.
.textShadow {text-shadow: 3px 3px 1px #42688C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #42688C, 5px 5px 20px red">Text here.</p>
This text has shadow with #42688C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#42688C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#42688C, Direction=45, Strength=4)">Text</p>
This text has shadow with #42688C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #42688C; -webkit-box-shadow: 1px 1px 3px 2px #42688C; box-shadow: 1px 1px 3px 2px #42688C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #42688C; -webkit-box-shadow: 1px 1px 3px 2px #42688C; box-shadow:1px 1px 3px 2px #42688C;">
Div content here</div>
This text has color #42688C on black background.
This text has color #42688C on white background.
This text has black color on #42688C background.
This text has white color on #42688C background.