HEX: #0000FF
RGB: (0,0,255)
Color name is Blue. #0000FF contains only blue color. #0000FF color is web safe color. It maybe written shortly as #00F.
#0000FF color RGB value is (0,0,255).
RGB: (0,0,255) (0%,0%,100%)
R 0 of 255 = 0%
G 0 of 255 = 0%
B 255 of 255 = 100%
R + G + B ~ 33%. #0000FF is quite dark color.
R + G + B =
0 + 0 + 255 = 255 (100%)
R 0 of 255 ~ 0%
G 0 of 255 ~ 0%
B 255 of 255 ~ 100%
#0000FF color CMYK value is (100,100,0,0).
CMYK: (100,100,0,0) C100M100Y0K0 (100%,100%,0%,0%) (1.00/1.00/0.00/0.00)
00 | 00 | FF | |
---|---|---|---|
RGB | 0 | 0 | 255 |
HSL | 240° | 100.00% | 50.00% |
HSB/HSV | 240° | 100.00% | 100.00% |
CMYK | 100.00% | 100.00% | 0.00% |
0.00% |
HEX | 00 | 00 | FF |
Decimal | 0 | 0 | 255 |
Binary | 0 | 0 | 11111111 |
Octal | 0 | 0 | 377 |
Examples of css and html codes for elements with #0000FF color. Also use rgb(0,0,255) instead hex code.
.myTextColor { color: #0000FF; }
<p style="color:#0000FF">This sample text font color is #0000FF.</p>
This text font color is #0000FF.
.myBgColor { background-color: #0000FF; }
<div style="background-color:#0000FF">Inner text</div>
This div background color is #0000FF.
.myBorderColor { border: 1px solid #0000FF; }
<div style="border:3px solid #0000FF">Div</div>
This div border color is #0000FF.
.myOpacity80 { color: #0000FF; opacity: 0.8; }
<p style="color:#0000FF;opacity:0.8;">80%</p>
Text with #0000FF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #0000FF;}
<p style="text-shadow: 3px 3px 1px #0000FF">Text here.</p>
This text has shadow with #0000FF color.
.textShadow {text-shadow: 3px 3px 1px #0000FF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #0000FF, 5px 5px 20px red">Text here.</p>
This text has shadow with #0000FF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#0000FF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#0000FF, Direction=45, Strength=4)">Text</p>
This text has shadow with #0000FF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #0000FF; -webkit-box-shadow: 1px 1px 3px 2px #0000FF; box-shadow: 1px 1px 3px 2px #0000FF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #0000FF; -webkit-box-shadow: 1px 1px 3px 2px #0000FF; box-shadow:1px 1px 3px 2px #0000FF;">
Div content here</div>
This text has color #0000FF on black background.
This text has color #0000FF on white background.
This text has black color on #0000FF background.
This text has white color on #0000FF background.