COLOR #040C35

HEX: #040C35 RGB: (4,12,53)

Color info

#040C35 contains red, green and blue colors in about the same proportion. Web safe color of #040C35 is #000033 (or #003).

RGB color model

#040C35 color RGB value is (4,12,53).

RGB: (4,12,53) (2%, 5%, 21%)

RGB channels and saturation

R 4 of 255 = 2%
G 12 of 255 = 5%
B 53 of 255 = 21%

4
12
53

R + G + B ~ 9%. #040C35 is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 12 + 53 = 69 (100%)
R 4 of 69 ~ 5.8%
G 12 of 69 ~ 17.39%
B 53 of 69 ~ 76.81'%

%17.39
%76.81

CMYK color model

#040C35 color CMYK value is (92,77,0,79).

  • cyan value is 92.45%
  • magenta value is 77.36%
  • yellow value is 0.00%
  • key color value is 79.22%

CMYK: (92,77,0,79)
C92M77Y0K79 (92%, 77%, 0%, 79%)
(0.92 / 0.77 / 0.00 / 0.79)

CMYK percentages

%92.45
%77.36
%0
%79.22

Codes

Color #040C35 in popluar color models

04 0C 35
RGB 4 12 53
HSL 230° 85.96% 11.18%
HSB/HSV 230° 92.45% 20.78%
CMYK 92.45% 77.36% 0.00%
79.22%

Color #040C35 in popluar number systems.

HEX 04 0C 35
Decimal 4 12 53
Binary 100 1100 110101
Octal 4 14 65

Shades and tints

Shades of #040C35

#040C35
(4,12,53)
#040B31
(4,11,49)
#040A2D
(4,10,45)
#040929
(4,9,41)
#040825
(4,8,37)
#040721
(4,7,33)
#04061D
(4,6,29)
#040519
(4,5,25)
#040415
(4,4,21)
#040311
(4,3,17)
#04020D
(4,2,13)
#000000
(0,0,0)

Tints of #040C35

#040C35
(4,12,53)
#1A2247
(26,34,71)
#303859
(48,56,89)
#464E6B
(70,78,107)
#5C647D
(92,100,125)
#727A8F
(114,122,143)
#8890A1
(136,144,161)
#9EA6B3
(158,166,179)
#B4BCC5
(180,188,197)
#CAD2D7
(202,210,215)
#E0E8E9
(224,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #040C35; }

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

This text font color is #040C35.

Background Color

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

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

This div background color is #040C35.

Border color

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

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

This div border color is #040C35.

Opacity

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

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

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

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

This text has shadow with #040C35 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #040C35.

Preview

Color preview on black background

This text has color #040C35 on black background.


Color preview on white background

This text has color #040C35 on white background.


Black color preview on #040C35 background

This text has black color on #040C35 background.


White color preview on #040C35 background

This text has white color on #040C35 background.


Related colors

Complementary color

Complementary color for #hex is #FBF3CA.


I love getcolorcode.com

Triadic colors

1 #35040C and #0C3504 with #040C35 are triadic colors.

2 #350C04 and #0C0435 with #040C35 are triadic colors.