HEX: #00298D
RGB: (0,41,141)
#00298D contains mainly blue color. Web safe color of #00298D is #003399 (or #039).
#00298D color RGB value is (0,41,141).
RGB: (0,41,141) (0%,16%,55%)
R 0 of 255 = 0%
G 41 of 255 = 16%
B 141 of 255 = 55%
R + G + B ~ 24%. #00298D is dark color.
R + G + B =
0 + 41 + 141 = 182 (100%)
R 0 of 182 ~ 0%
G 41 of 182 ~ 22.53%
B 141 of 182 ~ 77.47%
#00298D color CMYK value is (100,71,0,45).
CMYK: (100,71,0,45) C100M71Y0K45 (100%,71%,0%,45%) (1.00/0.71/0.00/0.45)
00 | 29 | 8D | |
---|---|---|---|
RGB | 0 | 41 | 141 |
HSL | 223° | 100.00% | 27.65% |
HSB/HSV | 223° | 100.00% | 55.29% |
CMYK | 100.00% | 70.92% | 0.00% |
44.71% |
HEX | 00 | 29 | 8D |
Decimal | 0 | 41 | 141 |
Binary | 0 | 101001 | 10001101 |
Octal | 0 | 51 | 215 |
Examples of css and html codes for elements with #00298D color. Also use rgb(0,41,141) instead hex code.
.myTextColor { color: #00298D; }
<p style="color:#00298D">This sample text font color is #00298D.</p>
This text font color is #00298D.
.myBgColor { background-color: #00298D; }
<div style="background-color:#00298D">Inner text</div>
This div background color is #00298D.
.myBorderColor { border: 1px solid #00298D; }
<div style="border:3px solid #00298D">Div</div>
This div border color is #00298D.
.myOpacity80 { color: #00298D; opacity: 0.8; }
<p style="color:#00298D;opacity:0.8;">80%</p>
Text with #00298D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #00298D;}
<p style="text-shadow: 3px 3px 1px #00298D">Text here.</p>
This text has shadow with #00298D color.
.textShadow {text-shadow: 3px 3px 1px #00298D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #00298D, 5px 5px 20px red">Text here.</p>
This text has shadow with #00298D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#00298D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#00298D, Direction=45, Strength=4)">Text</p>
This text has shadow with #00298D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #00298D; -webkit-box-shadow: 1px 1px 3px 2px #00298D; box-shadow: 1px 1px 3px 2px #00298D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #00298D; -webkit-box-shadow: 1px 1px 3px 2px #00298D; box-shadow:1px 1px 3px 2px #00298D;">
Div content here</div>
This text has color #00298D on black background.
This text has color #00298D on white background.
This text has black color on #00298D background.
This text has white color on #00298D background.