HEX: #3C427E
RGB: (60,66,126)
#3C427E contains mainly blue color. Web safe color of #3C427E is #333366 (or #336).
#3C427E color RGB value is (60,66,126).
RGB: (60,66,126) (24%,26%,49%)
R 60 of 255 = 24%
G 66 of 255 = 26%
B 126 of 255 = 49%
R + G + B ~ 33%. #3C427E is quite dark color.
R + G + B =
60 + 66 + 126 = 252 (100%)
R 60 of 252 ~ 23.81%
G 66 of 252 ~ 26.19%
B 126 of 252 ~ 50%
#3C427E color CMYK value is (52,48,0,51).
CMYK: (52,48,0,51) C52M48Y0K51 (52%,48%,0%,51%) (0.52/0.48/0.00/0.51)
3C | 42 | 7E | |
---|---|---|---|
RGB | 60 | 66 | 126 |
HSL | 235° | 35.48% | 36.47% |
HSB/HSV | 235° | 52.38% | 49.41% |
CMYK | 52.38% | 47.62% | 0.00% |
50.59% |
HEX | 3C | 42 | 7E |
Decimal | 60 | 66 | 126 |
Binary | 111100 | 1000010 | 1111110 |
Octal | 74 | 102 | 176 |
Examples of css and html codes for elements with #3C427E color. Also use rgb(60,66,126) instead hex code.
.myTextColor { color: #3C427E; }
<p style="color:#3C427E">This sample text font color is #3C427E.</p>
This text font color is #3C427E.
.myBgColor { background-color: #3C427E; }
<div style="background-color:#3C427E">Inner text</div>
This div background color is #3C427E.
.myBorderColor { border: 1px solid #3C427E; }
<div style="border:3px solid #3C427E">Div</div>
This div border color is #3C427E.
.myOpacity80 { color: #3C427E; opacity: 0.8; }
<p style="color:#3C427E;opacity:0.8;">80%</p>
Text with #3C427E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #3C427E;}
<p style="text-shadow: 3px 3px 1px #3C427E">Text here.</p>
This text has shadow with #3C427E color.
.textShadow {text-shadow: 3px 3px 1px #3C427E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #3C427E, 5px 5px 20px red">Text here.</p>
This text has shadow with #3C427E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#3C427E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#3C427E, Direction=45, Strength=4)">Text</p>
This text has shadow with #3C427E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #3C427E; -webkit-box-shadow: 1px 1px 3px 2px #3C427E; box-shadow: 1px 1px 3px 2px #3C427E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #3C427E; -webkit-box-shadow: 1px 1px 3px 2px #3C427E; box-shadow:1px 1px 3px 2px #3C427E;">
Div content here</div>
This text has color #3C427E on black background.
This text has color #3C427E on white background.
This text has black color on #3C427E background.
This text has white color on #3C427E background.