HEX: #048BD2
RGB: (4,139,210)
#048BD2 contains mainly blue color. Web safe color of #048BD2 is #0099CC (or #09C).
#048BD2 color RGB value is (4,139,210).
RGB: (4,139,210) (2%,55%,82%)
R 4 of 255 = 2%
G 139 of 255 = 55%
B 210 of 255 = 82%
R + G + B ~ 46%. #048BD2 is middle color (not dark and not light).
R + G + B =
4 + 139 + 210 = 353 (100%)
R 4 of 353 ~ 1.13%
G 139 of 353 ~ 39.38%
B 210 of 353 ~ 59.49%
#048BD2 color CMYK value is (98,34,0,18).
CMYK: (98,34,0,18) C98M34Y0K18 (98%,34%,0%,18%) (0.98/0.34/0.00/0.18)
04 | 8B | D2 | |
---|---|---|---|
RGB | 4 | 139 | 210 |
HSL | 201° | 96.26% | 41.96% |
HSB/HSV | 201° | 98.10% | 82.35% |
CMYK | 98.10% | 33.81% | 0.00% |
17.65% |
HEX | 04 | 8B | D2 |
Decimal | 4 | 139 | 210 |
Binary | 100 | 10001011 | 11010010 |
Octal | 4 | 213 | 322 |
Examples of css and html codes for elements with #048BD2 color. Also use rgb(4,139,210) instead hex code.
.myTextColor { color: #048BD2; }
<p style="color:#048BD2">This sample text font color is #048BD2.</p>
This text font color is #048BD2.
.myBgColor { background-color: #048BD2; }
<div style="background-color:#048BD2">Inner text</div>
This div background color is #048BD2.
.myBorderColor { border: 1px solid #048BD2; }
<div style="border:3px solid #048BD2">Div</div>
This div border color is #048BD2.
.myOpacity80 { color: #048BD2; opacity: 0.8; }
<p style="color:#048BD2;opacity:0.8;">80%</p>
Text with #048BD2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #048BD2;}
<p style="text-shadow: 3px 3px 1px #048BD2">Text here.</p>
This text has shadow with #048BD2 color.
.textShadow {text-shadow: 3px 3px 1px #048BD2, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #048BD2, 5px 5px 20px red">Text here.</p>
This text has shadow with #048BD2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#048BD2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#048BD2, Direction=45, Strength=4)">Text</p>
This text has shadow with #048BD2 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #048BD2; -webkit-box-shadow: 1px 1px 3px 2px #048BD2; box-shadow: 1px 1px 3px 2px #048BD2; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #048BD2; -webkit-box-shadow: 1px 1px 3px 2px #048BD2; box-shadow:1px 1px 3px 2px #048BD2;">
Div content here</div>
This text has color #048BD2 on black background.
This text has color #048BD2 on white background.
This text has black color on #048BD2 background.
This text has white color on #048BD2 background.