HEX: #04AFDF
RGB: (4,175,223)
#04AFDF contains mainly green and blue colors. Web safe color of #04AFDF is #0099CC (or #09C).
#04AFDF color RGB value is (4,175,223).
RGB: (4,175,223) (2%,69%,87%)
R 4 of 255 = 2%
G 175 of 255 = 69%
B 223 of 255 = 87%
R + G + B ~ 53%. #04AFDF is middle color (not dark and not light).
R + G + B =
4 + 175 + 223 = 402 (100%)
R 4 of 402 ~ 1%
G 175 of 402 ~ 43.53%
B 223 of 402 ~ 55.47%
#04AFDF color CMYK value is (98,22,0,13).
CMYK: (98,22,0,13) C98M22Y0K13 (98%,22%,0%,13%) (0.98/0.22/0.00/0.13)
04 | AF | DF | |
---|---|---|---|
RGB | 4 | 175 | 223 |
HSL | 193° | 96.48% | 44.51% |
HSB/HSV | 193° | 98.21% | 87.45% |
CMYK | 98.21% | 21.52% | 0.00% |
12.55% |
HEX | 04 | AF | DF |
Decimal | 4 | 175 | 223 |
Binary | 100 | 10101111 | 11011111 |
Octal | 4 | 257 | 337 |
Examples of css and html codes for elements with #04AFDF color. Also use rgb(4,175,223) instead hex code.
.myTextColor { color: #04AFDF; }
<p style="color:#04AFDF">This sample text font color is #04AFDF.</p>
This text font color is #04AFDF.
.myBgColor { background-color: #04AFDF; }
<div style="background-color:#04AFDF">Inner text</div>
This div background color is #04AFDF.
.myBorderColor { border: 1px solid #04AFDF; }
<div style="border:3px solid #04AFDF">Div</div>
This div border color is #04AFDF.
.myOpacity80 { color: #04AFDF; opacity: 0.8; }
<p style="color:#04AFDF;opacity:0.8;">80%</p>
Text with #04AFDF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04AFDF;}
<p style="text-shadow: 3px 3px 1px #04AFDF">Text here.</p>
This text has shadow with #04AFDF color.
.textShadow {text-shadow: 3px 3px 1px #04AFDF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04AFDF, 5px 5px 20px red">Text here.</p>
This text has shadow with #04AFDF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04AFDF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04AFDF, Direction=45, Strength=4)">Text</p>
This text has shadow with #04AFDF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04AFDF; -webkit-box-shadow: 1px 1px 3px 2px #04AFDF; box-shadow: 1px 1px 3px 2px #04AFDF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04AFDF; -webkit-box-shadow: 1px 1px 3px 2px #04AFDF; box-shadow:1px 1px 3px 2px #04AFDF;">
Div content here</div>
This text has color #04AFDF on black background.
This text has color #04AFDF on white background.
This text has black color on #04AFDF background.
This text has white color on #04AFDF background.