HEX: #04A3EC
RGB: (4,163,236)
#04A3EC contains mainly blue color. Web safe color of #04A3EC is #0099FF (or #09F).
#04A3EC color RGB value is (4,163,236).
RGB: (4,163,236) (2%,64%,93%)
R 4 of 255 = 2%
G 163 of 255 = 64%
B 236 of 255 = 93%
R + G + B ~ 53%. #04A3EC is middle color (not dark and not light).
R + G + B =
4 + 163 + 236 = 403 (100%)
R 4 of 403 ~ 0.99%
G 163 of 403 ~ 40.45%
B 236 of 403 ~ 58.56%
#04A3EC color CMYK value is (98,31,0,7).
CMYK: (98,31,0,7) C98M31Y0K7 (98%,31%,0%,7%) (0.98/0.31/0.00/0.07)
04 | A3 | EC | |
---|---|---|---|
RGB | 4 | 163 | 236 |
HSL | 199° | 96.67% | 47.06% |
HSB/HSV | 199° | 98.31% | 92.55% |
CMYK | 98.31% | 30.93% | 0.00% |
7.45% |
HEX | 04 | A3 | EC |
Decimal | 4 | 163 | 236 |
Binary | 100 | 10100011 | 11101100 |
Octal | 4 | 243 | 354 |
Examples of css and html codes for elements with #04A3EC color. Also use rgb(4,163,236) instead hex code.
.myTextColor { color: #04A3EC; }
<p style="color:#04A3EC">This sample text font color is #04A3EC.</p>
This text font color is #04A3EC.
.myBgColor { background-color: #04A3EC; }
<div style="background-color:#04A3EC">Inner text</div>
This div background color is #04A3EC.
.myBorderColor { border: 1px solid #04A3EC; }
<div style="border:3px solid #04A3EC">Div</div>
This div border color is #04A3EC.
.myOpacity80 { color: #04A3EC; opacity: 0.8; }
<p style="color:#04A3EC;opacity:0.8;">80%</p>
Text with #04A3EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04A3EC;}
<p style="text-shadow: 3px 3px 1px #04A3EC">Text here.</p>
This text has shadow with #04A3EC color.
.textShadow {text-shadow: 3px 3px 1px #04A3EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04A3EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #04A3EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04A3EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04A3EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #04A3EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04A3EC; -webkit-box-shadow: 1px 1px 3px 2px #04A3EC; box-shadow: 1px 1px 3px 2px #04A3EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04A3EC; -webkit-box-shadow: 1px 1px 3px 2px #04A3EC; box-shadow:1px 1px 3px 2px #04A3EC;">
Div content here</div>
This text has color #04A3EC on black background.
This text has color #04A3EC on white background.
This text has black color on #04A3EC background.
This text has white color on #04A3EC background.