COLOR #041272

HEX: #041272
RGB: (4,18,114)

Color info

#041272 contains mainly blue color. Web safe color of #041272 is #000066 (or #006).

RGB color model

#041272 color RGB value is (4,18,114).

  • red value is 4;
  • green value is 18;
  • blue value is 114.
RGB:
(4,18,114)
(2%,7%,45%)

RGB channels and saturation

R 4 of 255 = 2%
G 18 of 255 = 7%
B 114 of 255 = 45%

4
18
114

R + G + B ~ 18%. #041272 is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 18 + 114 = 136 (100%)
R 4 of 136 ~ 2.94%
G 18 of 136 ~ 13.24%
B 114 of 136 ~ 83.82%

%13.24
%83.82

CMYK color model

#041272 color CMYK value is (96,84,0,55).

  • cyan value is 96.49%
  • magenta value is 84.21%
  • yellow value is 0.00%
  • key color value is 55.29%
CMYK:
(96,84,0,55)
C96M84Y0K55 
(96%,84%,0%,55%)
(0.96/0.84/0.00/0.55)	

CMYK percentages

%96.49
%84.21
%0
%55.29

Codes

Color #041272 in popluar color models

041272
RGB418114
HSL232°93.22%23.14%
HSB/HSV232°96.49%44.71%
CMYK96.49%84.21%0.00%
55.29%

Color #041272 in popluar number systems.

HEX041272
Decimal418114
Binary100100101110010
Octal422162

Shades and tints

Shades of #041272

#041272
(4,18,114)
#041168
(4,17,104)
#04105E
(4,16,94)
#040F54
(4,15,84)
#040E4A
(4,14,74)
#040D40
(4,13,64)
#040C36
(4,12,54)
#040B2C
(4,11,44)
#040A22
(4,10,34)
#040918
(4,9,24)
#04080E
(4,8,14)
#000000
(0,0,0)

Tints of #041272

#041272
(4,18,114)
#1A277E
(26,39,126)
#303C8A
(48,60,138)
#465196
(70,81,150)
#5C66A2
(92,102,162)
#727BAE
(114,123,174)
#8890BA
(136,144,186)
#9EA5C6
(158,165,198)
#B4BAD2
(180,186,210)
#CACFDE
(202,207,222)
#E0E4EA
(224,228,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #041272 color. Also use rgb(4,18,114) instead hex code.

Text Font Color

.myTextColor { color: #041272; }

<p style="color:#041272">This sample text font color is #041272.</p>

This text font color is #041272.


Background Color

.myBgColor { background-color: #041272; }

<div style="background-color:#041272">Inner text</div>

This div background color is #041272.


Border color

.myBorderColor { border: 1px solid #041272; }

<div style="border:3px solid #041272">Div</div>

This div border color is #041272.


Opacity

.myOpacity80 { color: #041272; opacity: 0.8; }

<p style="color:#041272;opacity:0.8;">80%</p>

Text with #041272 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #041272;}

<p style="text-shadow: 3px 3px 1px #041272">Text here.</p>

This text has shadow with #041272 color.

.textShadow {text-shadow: 3px 3px 1px #041272, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #041272, 5px 5px 20px red">Text here.</p>

This text has shadow with #041272 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#041272, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#041272, Direction=45, Strength=4)">Text</p>

This text has shadow with #041272 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #041272;
  -webkit-box-shadow:	1px 1px 3px 2px #041272;
  box-shadow:		1px 1px 3px 2px #041272;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #041272;
-webkit-box-shadow: 1px 1px 3px 2px #041272;
box-shadow:1px 1px 3px 2px #041272;">
Div content here</div>
This div box has shadow with color #041272.

Preview

Color preview on black background

This text has color #041272 on black background.


Color preview on white background

This text has color #041272 on white background.



Black color preview on #041272 background

This text has black color on #041272 background.


White color preview on #041272 background

This text has white color on #041272 background.