HEX: #6498EB
RGB: (100,152,235)
#6498EB contains mainly blue color. Web safe color of #6498EB is #6699FF (or #69F).
#6498EB color RGB value is (100,152,235).
RGB: (100,152,235) (39%,60%,92%)
R 100 of 255 = 39%
G 152 of 255 = 60%
B 235 of 255 = 92%
R + G + B ~ 64%. #6498EB is quite light color.
R + G + B =
100 + 152 + 235 = 487 (100%)
R 100 of 487 ~ 20.53%
G 152 of 487 ~ 31.21%
B 235 of 487 ~ 48.25%
#6498EB color CMYK value is (57,35,0,8).
CMYK: (57,35,0,8) C57M35Y0K8 (57%,35%,0%,8%) (0.57/0.35/0.00/0.08)
64 | 98 | EB | |
---|---|---|---|
RGB | 100 | 152 | 235 |
HSL | 217° | 77.14% | 65.69% |
HSB/HSV | 217° | 57.45% | 92.16% |
CMYK | 57.45% | 35.32% | 0.00% |
7.84% |
HEX | 64 | 98 | EB |
Decimal | 100 | 152 | 235 |
Binary | 1100100 | 10011000 | 11101011 |
Octal | 144 | 230 | 353 |
Examples of css and html codes for elements with #6498EB color. Also use rgb(100,152,235) instead hex code.
.myTextColor { color: #6498EB; }
<p style="color:#6498EB">This sample text font color is #6498EB.</p>
This text font color is #6498EB.
.myBgColor { background-color: #6498EB; }
<div style="background-color:#6498EB">Inner text</div>
This div background color is #6498EB.
.myBorderColor { border: 1px solid #6498EB; }
<div style="border:3px solid #6498EB">Div</div>
This div border color is #6498EB.
.myOpacity80 { color: #6498EB; opacity: 0.8; }
<p style="color:#6498EB;opacity:0.8;">80%</p>
Text with #6498EB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6498EB;}
<p style="text-shadow: 3px 3px 1px #6498EB">Text here.</p>
This text has shadow with #6498EB color.
.textShadow {text-shadow: 3px 3px 1px #6498EB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6498EB, 5px 5px 20px red">Text here.</p>
This text has shadow with #6498EB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6498EB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6498EB, Direction=45, Strength=4)">Text</p>
This text has shadow with #6498EB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6498EB; -webkit-box-shadow: 1px 1px 3px 2px #6498EB; box-shadow: 1px 1px 3px 2px #6498EB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6498EB; -webkit-box-shadow: 1px 1px 3px 2px #6498EB; box-shadow:1px 1px 3px 2px #6498EB;">
Div content here</div>
This text has color #6498EB on black background.
This text has color #6498EB on white background.
This text has black color on #6498EB background.
This text has white color on #6498EB background.