HEX: #002B51
RGB: (0,43,81)
#002B51 contains only green and blue colors. Web safe color of #002B51 is #003366 (or #036).
#002B51 color RGB value is (0,43,81).
RGB: (0,43,81) (0%,17%,32%)
R 0 of 255 = 0%
G 43 of 255 = 17%
B 81 of 255 = 32%
R + G + B ~ 16%. #002B51 is dark color.
R + G + B =
0 + 43 + 81 = 124 (100%)
R 0 of 124 ~ 0%
G 43 of 124 ~ 34.68%
B 81 of 124 ~ 65.32%
#002B51 color CMYK value is (100,47,0,68).
CMYK: (100,47,0,68) C100M47Y0K68 (100%,47%,0%,68%) (1.00/0.47/0.00/0.68)
00 | 2B | 51 | |
---|---|---|---|
RGB | 0 | 43 | 81 |
HSL | 208° | 100.00% | 15.88% |
HSB/HSV | 208° | 100.00% | 31.76% |
CMYK | 100.00% | 46.91% | 0.00% |
68.24% |
HEX | 00 | 2B | 51 |
Decimal | 0 | 43 | 81 |
Binary | 0 | 101011 | 1010001 |
Octal | 0 | 53 | 121 |
Examples of css and html codes for elements with #002B51 color. Also use rgb(0,43,81) instead hex code.
.myTextColor { color: #002B51; }
<p style="color:#002B51">This sample text font color is #002B51.</p>
This text font color is #002B51.
.myBgColor { background-color: #002B51; }
<div style="background-color:#002B51">Inner text</div>
This div background color is #002B51.
.myBorderColor { border: 1px solid #002B51; }
<div style="border:3px solid #002B51">Div</div>
This div border color is #002B51.
.myOpacity80 { color: #002B51; opacity: 0.8; }
<p style="color:#002B51;opacity:0.8;">80%</p>
Text with #002B51 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #002B51;}
<p style="text-shadow: 3px 3px 1px #002B51">Text here.</p>
This text has shadow with #002B51 color.
.textShadow {text-shadow: 3px 3px 1px #002B51, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #002B51, 5px 5px 20px red">Text here.</p>
This text has shadow with #002B51 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#002B51, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#002B51, Direction=45, Strength=4)">Text</p>
This text has shadow with #002B51 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #002B51; -webkit-box-shadow: 1px 1px 3px 2px #002B51; box-shadow: 1px 1px 3px 2px #002B51; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #002B51; -webkit-box-shadow: 1px 1px 3px 2px #002B51; box-shadow:1px 1px 3px 2px #002B51;">
Div content here</div>
This text has color #002B51 on black background.
This text has color #002B51 on white background.
This text has black color on #002B51 background.
This text has white color on #002B51 background.