HEX: #04295A
RGB: (4,41,90)
#04295A contains mainly green and blue colors. Web safe color of #04295A is #003366 (or #036).
#04295A color RGB value is (4,41,90).
RGB: (4,41,90) (2%,16%,35%)
R 4 of 255 = 2%
G 41 of 255 = 16%
B 90 of 255 = 35%
R + G + B ~ 18%. #04295A is dark color.
R + G + B =
4 + 41 + 90 = 135 (100%)
R 4 of 135 ~ 2.96%
G 41 of 135 ~ 30.37%
B 90 of 135 ~ 66.67%
#04295A color CMYK value is (96,54,0,65).
CMYK: (96,54,0,65) C96M54Y0K65 (96%,54%,0%,65%) (0.96/0.54/0.00/0.65)
04 | 29 | 5A | |
---|---|---|---|
RGB | 4 | 41 | 90 |
HSL | 214° | 91.49% | 18.43% |
HSB/HSV | 214° | 95.56% | 35.29% |
CMYK | 95.56% | 54.44% | 0.00% |
64.71% |
HEX | 04 | 29 | 5A |
Decimal | 4 | 41 | 90 |
Binary | 100 | 101001 | 1011010 |
Octal | 4 | 51 | 132 |
Examples of css and html codes for elements with #04295A color. Also use rgb(4,41,90) instead hex code.
.myTextColor { color: #04295A; }
<p style="color:#04295A">This sample text font color is #04295A.</p>
This text font color is #04295A.
.myBgColor { background-color: #04295A; }
<div style="background-color:#04295A">Inner text</div>
This div background color is #04295A.
.myBorderColor { border: 1px solid #04295A; }
<div style="border:3px solid #04295A">Div</div>
This div border color is #04295A.
.myOpacity80 { color: #04295A; opacity: 0.8; }
<p style="color:#04295A;opacity:0.8;">80%</p>
Text with #04295A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04295A;}
<p style="text-shadow: 3px 3px 1px #04295A">Text here.</p>
This text has shadow with #04295A color.
.textShadow {text-shadow: 3px 3px 1px #04295A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04295A, 5px 5px 20px red">Text here.</p>
This text has shadow with #04295A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04295A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04295A, Direction=45, Strength=4)">Text</p>
This text has shadow with #04295A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04295A; -webkit-box-shadow: 1px 1px 3px 2px #04295A; box-shadow: 1px 1px 3px 2px #04295A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04295A; -webkit-box-shadow: 1px 1px 3px 2px #04295A; box-shadow:1px 1px 3px 2px #04295A;">
Div content here</div>
This text has color #04295A on black background.
This text has color #04295A on white background.
This text has black color on #04295A background.
This text has white color on #04295A background.