HEX: #002A75
RGB: (0,42,117)
#002A75 contains mainly blue color. Web safe color of #002A75 is #003366 (or #036).
#002A75 color RGB value is (0,42,117).
RGB: (0,42,117) (0%,16%,46%)
R 0 of 255 = 0%
G 42 of 255 = 16%
B 117 of 255 = 46%
R + G + B ~ 21%. #002A75 is dark color.
R + G + B =
0 + 42 + 117 = 159 (100%)
R 0 of 159 ~ 0%
G 42 of 159 ~ 26.42%
B 117 of 159 ~ 73.58%
#002A75 color CMYK value is (100,64,0,54).
CMYK: (100,64,0,54) C100M64Y0K54 (100%,64%,0%,54%) (1.00/0.64/0.00/0.54)
00 | 2A | 75 | |
---|---|---|---|
RGB | 0 | 42 | 117 |
HSL | 218° | 100.00% | 22.94% |
HSB/HSV | 218° | 100.00% | 45.88% |
CMYK | 100.00% | 64.10% | 0.00% |
54.12% |
HEX | 00 | 2A | 75 |
Decimal | 0 | 42 | 117 |
Binary | 0 | 101010 | 1110101 |
Octal | 0 | 52 | 165 |
Examples of css and html codes for elements with #002A75 color. Also use rgb(0,42,117) instead hex code.
.myTextColor { color: #002A75; }
<p style="color:#002A75">This sample text font color is #002A75.</p>
This text font color is #002A75.
.myBgColor { background-color: #002A75; }
<div style="background-color:#002A75">Inner text</div>
This div background color is #002A75.
.myBorderColor { border: 1px solid #002A75; }
<div style="border:3px solid #002A75">Div</div>
This div border color is #002A75.
.myOpacity80 { color: #002A75; opacity: 0.8; }
<p style="color:#002A75;opacity:0.8;">80%</p>
Text with #002A75 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #002A75;}
<p style="text-shadow: 3px 3px 1px #002A75">Text here.</p>
This text has shadow with #002A75 color.
.textShadow {text-shadow: 3px 3px 1px #002A75, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #002A75, 5px 5px 20px red">Text here.</p>
This text has shadow with #002A75 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#002A75, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#002A75, Direction=45, Strength=4)">Text</p>
This text has shadow with #002A75 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #002A75; -webkit-box-shadow: 1px 1px 3px 2px #002A75; box-shadow: 1px 1px 3px 2px #002A75; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #002A75; -webkit-box-shadow: 1px 1px 3px 2px #002A75; box-shadow:1px 1px 3px 2px #002A75;">
Div content here</div>
This text has color #002A75 on black background.
This text has color #002A75 on white background.
This text has black color on #002A75 background.
This text has white color on #002A75 background.