HEX: #002F5D
RGB: (0,47,93)
#002F5D contains only green and blue colors. Web safe color of #002F5D is #003366 (or #036).
#002F5D color RGB value is (0,47,93).
RGB: (0,47,93) (0%,18%,36%)
R 0 of 255 = 0%
G 47 of 255 = 18%
B 93 of 255 = 36%
R + G + B ~ 18%. #002F5D is dark color.
R + G + B =
0 + 47 + 93 = 140 (100%)
R 0 of 140 ~ 0%
G 47 of 140 ~ 33.57%
B 93 of 140 ~ 66.43%
#002F5D color CMYK value is (100,49,0,64).
CMYK: (100,49,0,64) C100M49Y0K64 (100%,49%,0%,64%) (1.00/0.49/0.00/0.64)
00 | 2F | 5D | |
---|---|---|---|
RGB | 0 | 47 | 93 |
HSL | 210° | 100.00% | 18.24% |
HSB/HSV | 210° | 100.00% | 36.47% |
CMYK | 100.00% | 49.46% | 0.00% |
63.53% |
HEX | 00 | 2F | 5D |
Decimal | 0 | 47 | 93 |
Binary | 0 | 101111 | 1011101 |
Octal | 0 | 57 | 135 |
Examples of css and html codes for elements with #002F5D color. Also use rgb(0,47,93) instead hex code.
.myTextColor { color: #002F5D; }
<p style="color:#002F5D">This sample text font color is #002F5D.</p>
This text font color is #002F5D.
.myBgColor { background-color: #002F5D; }
<div style="background-color:#002F5D">Inner text</div>
This div background color is #002F5D.
.myBorderColor { border: 1px solid #002F5D; }
<div style="border:3px solid #002F5D">Div</div>
This div border color is #002F5D.
.myOpacity80 { color: #002F5D; opacity: 0.8; }
<p style="color:#002F5D;opacity:0.8;">80%</p>
Text with #002F5D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #002F5D;}
<p style="text-shadow: 3px 3px 1px #002F5D">Text here.</p>
This text has shadow with #002F5D color.
.textShadow {text-shadow: 3px 3px 1px #002F5D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #002F5D, 5px 5px 20px red">Text here.</p>
This text has shadow with #002F5D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#002F5D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#002F5D, Direction=45, Strength=4)">Text</p>
This text has shadow with #002F5D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #002F5D; -webkit-box-shadow: 1px 1px 3px 2px #002F5D; box-shadow: 1px 1px 3px 2px #002F5D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #002F5D; -webkit-box-shadow: 1px 1px 3px 2px #002F5D; box-shadow:1px 1px 3px 2px #002F5D;">
Div content here</div>
This text has color #002F5D on black background.
This text has color #002F5D on white background.
This text has black color on #002F5D background.
This text has white color on #002F5D background.