COLOR #040C41

HEX: #040C41 RGB: (4,12,65)

Color info

#040C41 contains mainly green and blue colors. Web safe color of #040C41 is #000033 (or #003).

RGB color model

#040C41 color RGB value is (4,12,65).

RGB: (4,12,65) (2%, 5%, 25%)

RGB channels and saturation

R 4 of 255 = 2%
G 12 of 255 = 5%
B 65 of 255 = 25%

4
12
65

R + G + B ~ 11%. #040C41 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 12 + 65 = 81 (100%)
R 4 of 81 ~ 4.94%
G 12 of 81 ~ 14.81%
B 65 of 81 ~ 80.25'%

%14.81
%80.25

CMYK color model

#040C41 color CMYK value is (94,82,0,75).

  • cyan value is 93.85%
  • magenta value is 81.54%
  • yellow value is 0.00%
  • key color value is 74.51%

CMYK: (94,82,0,75)
C94M82Y0K75 (94%, 82%, 0%, 75%)
(0.94 / 0.82 / 0.00 / 0.75)

CMYK percentages

%93.85
%81.54
%0
%74.51

Codes

Color #040C41 in popluar color models

04 0C 41
RGB 4 12 65
HSL 232° 88.41% 13.53%
HSB/HSV 232° 93.85% 25.49%
CMYK 93.85% 81.54% 0.00%
74.51%

Color #040C41 in popluar number systems.

HEX 04 0C 41
Decimal 4 12 65
Binary 100 1100 1000001
Octal 4 14 101

Shades and tints

Shades of #040C41

#040C41
(4,12,65)
#040B3C
(4,11,60)
#040A37
(4,10,55)
#040932
(4,9,50)
#04082D
(4,8,45)
#040728
(4,7,40)
#040623
(4,6,35)
#04051E
(4,5,30)
#040419
(4,4,25)
#040314
(4,3,20)
#04020F
(4,2,15)
#000000
(0,0,0)

Tints of #040C41

#040C41
(4,12,65)
#1A2252
(26,34,82)
#303863
(48,56,99)
#464E74
(70,78,116)
#5C6485
(92,100,133)
#727A96
(114,122,150)
#8890A7
(136,144,167)
#9EA6B8
(158,166,184)
#B4BCC9
(180,188,201)
#CAD2DA
(202,210,218)
#E0E8EB
(224,232,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #040C41 color. Also use rgb(4,12,65) instead hex code.

Text Font Color

.myTextColor { color: #040C41; }

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

This text font color is #040C41.

Background Color

.myBgColor { background-color: #040C41; }

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

This div background color is #040C41.

Border color

.myBorderColor { border: 1px solid #040C41; }

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

This div border color is #040C41.

Opacity

.myOpacity80 { color: #040C41; opacity: 0.8; }

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

Text with #040C41 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 #040C41;}

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

This text has shadow with #040C41 color.


.textShadow {text-shadow: 3px 3px 1px #040C41', 3px 3px 1px red;}

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

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


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

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

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

Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #040C41; -webkit-box-shadow: 1px 1px 3px 2px #040C41; box-shadow:1px 1px 3px 2px #040C41;">
Div content here
</div>

This div box has shadow with color #040C41.

Preview

Color preview on black background

This text has color #040C41 on black background.


Color preview on white background

This text has color #040C41 on white background.


Black color preview on #040C41 background

This text has black color on #040C41 background.


White color preview on #040C41 background

This text has white color on #040C41 background.


Related colors

Complementary color

Complementary color for #hex is #FBF3BE.


I love getcolorcode.com

Triadic colors

1 #41040C and #0C4104 with #040C41 are triadic colors.

2 #410C04 and #0C0441 with #040C41 are triadic colors.