HEX: #003040
RGB: (0,48,64)
#003040 contains only green and blue colors. Web safe color of #003040 is #003333 (or #033).
#003040 color RGB value is (0,48,64).
RGB: (0,48,64) (0%,19%,25%)
R 0 of 255 = 0%
G 48 of 255 = 19%
B 64 of 255 = 25%
R + G + B ~ 15%. #003040 is dark color.
R + G + B =
0 + 48 + 64 = 112 (100%)
R 0 of 112 ~ 0%
G 48 of 112 ~ 42.86%
B 64 of 112 ~ 57.14%
#003040 color CMYK value is (100,25,0,75).
CMYK: (100,25,0,75) C100M25Y0K75 (100%,25%,0%,75%) (1.00/0.25/0.00/0.75)
00 | 30 | 40 | |
---|---|---|---|
RGB | 0 | 48 | 64 |
HSL | 195° | 100.00% | 12.55% |
HSB/HSV | 195° | 100.00% | 25.10% |
CMYK | 100.00% | 25.00% | 0.00% |
74.90% |
HEX | 00 | 30 | 40 |
Decimal | 0 | 48 | 64 |
Binary | 0 | 110000 | 1000000 |
Octal | 0 | 60 | 100 |
Examples of css and html codes for elements with #003040 color. Also use rgb(0,48,64) instead hex code.
.myTextColor { color: #003040; }
<p style="color:#003040">This sample text font color is #003040.</p>
This text font color is #003040.
.myBgColor { background-color: #003040; }
<div style="background-color:#003040">Inner text</div>
This div background color is #003040.
.myBorderColor { border: 1px solid #003040; }
<div style="border:3px solid #003040">Div</div>
This div border color is #003040.
.myOpacity80 { color: #003040; opacity: 0.8; }
<p style="color:#003040;opacity:0.8;">80%</p>
Text with #003040 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #003040;}
<p style="text-shadow: 3px 3px 1px #003040">Text here.</p>
This text has shadow with #003040 color.
.textShadow {text-shadow: 3px 3px 1px #003040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #003040, 5px 5px 20px red">Text here.</p>
This text has shadow with #003040 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#003040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#003040, Direction=45, Strength=4)">Text</p>
This text has shadow with #003040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #003040; -webkit-box-shadow: 1px 1px 3px 2px #003040; box-shadow: 1px 1px 3px 2px #003040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #003040; -webkit-box-shadow: 1px 1px 3px 2px #003040; box-shadow:1px 1px 3px 2px #003040;">
Div content here</div>
This text has color #003040 on black background.
This text has color #003040 on white background.
This text has black color on #003040 background.
This text has white color on #003040 background.