HEX: #498AD7
RGB: (73,138,215)
#498AD7 contains mainly blue color. Web safe color of #498AD7 is #3399CC (or #39C).
#498AD7 color RGB value is (73,138,215).
RGB: (73,138,215) (29%,54%,84%)
R 73 of 255 = 29%
G 138 of 255 = 54%
B 215 of 255 = 84%
R + G + B ~ 56%. #498AD7 is middle color (not dark and not light).
R + G + B =
73 + 138 + 215 = 426 (100%)
R 73 of 426 ~ 17.14%
G 138 of 426 ~ 32.39%
B 215 of 426 ~ 50.47%
#498AD7 color CMYK value is (66,36,0,16).
CMYK: (66,36,0,16) C66M36Y0K16 (66%,36%,0%,16%) (0.66/0.36/0.00/0.16)
49 | 8A | D7 | |
---|---|---|---|
RGB | 73 | 138 | 215 |
HSL | 213° | 63.96% | 56.47% |
HSB/HSV | 213° | 66.05% | 84.31% |
CMYK | 66.05% | 35.81% | 0.00% |
15.69% |
HEX | 49 | 8A | D7 |
Decimal | 73 | 138 | 215 |
Binary | 1001001 | 10001010 | 11010111 |
Octal | 111 | 212 | 327 |
Examples of css and html codes for elements with #498AD7 color. Also use rgb(73,138,215) instead hex code.
.myTextColor { color: #498AD7; }
<p style="color:#498AD7">This sample text font color is #498AD7.</p>
This text font color is #498AD7.
.myBgColor { background-color: #498AD7; }
<div style="background-color:#498AD7">Inner text</div>
This div background color is #498AD7.
.myBorderColor { border: 1px solid #498AD7; }
<div style="border:3px solid #498AD7">Div</div>
This div border color is #498AD7.
.myOpacity80 { color: #498AD7; opacity: 0.8; }
<p style="color:#498AD7;opacity:0.8;">80%</p>
Text with #498AD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #498AD7;}
<p style="text-shadow: 3px 3px 1px #498AD7">Text here.</p>
This text has shadow with #498AD7 color.
.textShadow {text-shadow: 3px 3px 1px #498AD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #498AD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #498AD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#498AD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#498AD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #498AD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #498AD7; -webkit-box-shadow: 1px 1px 3px 2px #498AD7; box-shadow: 1px 1px 3px 2px #498AD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #498AD7; -webkit-box-shadow: 1px 1px 3px 2px #498AD7; box-shadow:1px 1px 3px 2px #498AD7;">
Div content here</div>
This text has color #498AD7 on black background.
This text has color #498AD7 on white background.
This text has black color on #498AD7 background.
This text has white color on #498AD7 background.