HEX: #030A7D
RGB: (3,10,125)
#030A7D contains mainly blue color. Web safe color of #030A7D is #000066 (or #006).
#030A7D color RGB value is (3,10,125).
RGB: (3,10,125) (1%,4%,49%)
R 3 of 255 = 1%
G 10 of 255 = 4%
B 125 of 255 = 49%
R + G + B ~ 18%. #030A7D is dark color.
R + G + B =
3 + 10 + 125 = 138 (100%)
R 3 of 138 ~ 2.17%
G 10 of 138 ~ 7.25%
B 125 of 138 ~ 90.58%
#030A7D color CMYK value is (98,92,0,51).
CMYK: (98,92,0,51) C98M92Y0K51 (98%,92%,0%,51%) (0.98/0.92/0.00/0.51)
03 | 0A | 7D | |
---|---|---|---|
RGB | 3 | 10 | 125 |
HSL | 237° | 95.31% | 25.10% |
HSB/HSV | 237° | 97.60% | 49.02% |
CMYK | 97.60% | 92.00% | 0.00% |
50.98% |
HEX | 03 | 0A | 7D |
Decimal | 3 | 10 | 125 |
Binary | 11 | 1010 | 1111101 |
Octal | 3 | 12 | 175 |
Examples of css and html codes for elements with #030A7D color. Also use rgb(3,10,125) instead hex code.
.myTextColor { color: #030A7D; }
<p style="color:#030A7D">This sample text font color is #030A7D.</p>
This text font color is #030A7D.
.myBgColor { background-color: #030A7D; }
<div style="background-color:#030A7D">Inner text</div>
This div background color is #030A7D.
.myBorderColor { border: 1px solid #030A7D; }
<div style="border:3px solid #030A7D">Div</div>
This div border color is #030A7D.
.myOpacity80 { color: #030A7D; opacity: 0.8; }
<p style="color:#030A7D;opacity:0.8;">80%</p>
Text with #030A7D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #030A7D;}
<p style="text-shadow: 3px 3px 1px #030A7D">Text here.</p>
This text has shadow with #030A7D color.
.textShadow {text-shadow: 3px 3px 1px #030A7D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #030A7D, 5px 5px 20px red">Text here.</p>
This text has shadow with #030A7D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#030A7D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#030A7D, Direction=45, Strength=4)">Text</p>
This text has shadow with #030A7D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #030A7D; -webkit-box-shadow: 1px 1px 3px 2px #030A7D; box-shadow: 1px 1px 3px 2px #030A7D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #030A7D; -webkit-box-shadow: 1px 1px 3px 2px #030A7D; box-shadow:1px 1px 3px 2px #030A7D;">
Div content here</div>
This text has color #030A7D on black background.
This text has color #030A7D on white background.
This text has black color on #030A7D background.
This text has white color on #030A7D background.