HEX: #428CF6
RGB: (66,140,246)
#428CF6 contains mainly blue color. Web safe color of #428CF6 is #3399FF (or #39F).
#428CF6 color RGB value is (66,140,246).
RGB: (66,140,246) (26%,55%,96%)
R 66 of 255 = 26%
G 140 of 255 = 55%
B 246 of 255 = 96%
R + G + B ~ 59%. #428CF6 is middle color (not dark and not light).
R + G + B =
66 + 140 + 246 = 452 (100%)
R 66 of 452 ~ 14.6%
G 140 of 452 ~ 30.97%
B 246 of 452 ~ 54.42%
#428CF6 color CMYK value is (73,43,0,4).
CMYK: (73,43,0,4) C73M43Y0K4 (73%,43%,0%,4%) (0.73/0.43/0.00/0.04)
42 | 8C | F6 | |
---|---|---|---|
RGB | 66 | 140 | 246 |
HSL | 215° | 90.91% | 61.18% |
HSB/HSV | 215° | 73.17% | 96.47% |
CMYK | 73.17% | 43.09% | 0.00% |
3.53% |
HEX | 42 | 8C | F6 |
Decimal | 66 | 140 | 246 |
Binary | 1000010 | 10001100 | 11110110 |
Octal | 102 | 214 | 366 |
Examples of css and html codes for elements with #428CF6 color. Also use rgb(66,140,246) instead hex code.
.myTextColor { color: #428CF6; }
<p style="color:#428CF6">This sample text font color is #428CF6.</p>
This text font color is #428CF6.
.myBgColor { background-color: #428CF6; }
<div style="background-color:#428CF6">Inner text</div>
This div background color is #428CF6.
.myBorderColor { border: 1px solid #428CF6; }
<div style="border:3px solid #428CF6">Div</div>
This div border color is #428CF6.
.myOpacity80 { color: #428CF6; opacity: 0.8; }
<p style="color:#428CF6;opacity:0.8;">80%</p>
Text with #428CF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #428CF6;}
<p style="text-shadow: 3px 3px 1px #428CF6">Text here.</p>
This text has shadow with #428CF6 color.
.textShadow {text-shadow: 3px 3px 1px #428CF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #428CF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #428CF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#428CF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#428CF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #428CF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #428CF6; -webkit-box-shadow: 1px 1px 3px 2px #428CF6; box-shadow: 1px 1px 3px 2px #428CF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #428CF6; -webkit-box-shadow: 1px 1px 3px 2px #428CF6; box-shadow:1px 1px 3px 2px #428CF6;">
Div content here</div>
This text has color #428CF6 on black background.
This text has color #428CF6 on white background.
This text has black color on #428CF6 background.
This text has white color on #428CF6 background.