COLOR #04311A

HEX: #04311A RGB: (4,49,26)

Color info

#04311A contains red, green and blue colors in about the same proportion. Web safe color of #04311A is #003300 (or #030).

RGB color model

#04311A color RGB value is (4,49,26).

RGB: (4,49,26) (2%, 19%, 10%)

RGB channels and saturation

R 4 of 255 = 2%
G 49 of 255 = 19%
B 26 of 255 = 10%

4
49
26

R + G + B ~ 10%. #04311A is dark color.

Portions of RGB colors in percentages

R + G + B = 4 + 49 + 26 = 79 (100%)
R 4 of 79 ~ 5.06%
G 49 of 79 ~ 62.03%
B 26 of 79 ~ 32.91'%

%62.03
%32.91

CMYK color model

#04311A color CMYK value is (92,0,47,81).

  • cyan value is 91.84%
  • magenta value is 0.00%
  • yellow value is 46.94%
  • key color value is 80.78%

CMYK: (92,0,47,81)
C92M0Y47K81 (92%, 0%, 47%, 81%)
(0.92 / 0.00 / 0.47 / 0.81)

CMYK percentages

%91.84
%0
%46.94
%80.78

Codes

Color #04311A in popluar color models

04 31 1A
RGB 4 49 26
HSL 149° 84.91% 10.39%
HSB/HSV 149° 91.84% 19.22%
CMYK 91.84% 0.00% 46.94%
80.78%

Color #04311A in popluar number systems.

HEX 04 31 1A
Decimal 4 49 26
Binary 100 110001 11010
Octal 4 61 32

Shades and tints

Shades of #04311A

#04311A
(4,49,26)
#042D18
(4,45,24)
#042916
(4,41,22)
#042514
(4,37,20)
#042112
(4,33,18)
#041D10
(4,29,16)
#04190E
(4,25,14)
#04150C
(4,21,12)
#04110A
(4,17,10)
#040D08
(4,13,8)
#040906
(4,9,6)
#000000
(0,0,0)

Tints of #04311A

#04311A
(4,49,26)
#1A432E
(26,67,46)
#305542
(48,85,66)
#466756
(70,103,86)
#5C796A
(92,121,106)
#728B7E
(114,139,126)
#889D92
(136,157,146)
#9EAFA6
(158,175,166)
#B4C1BA
(180,193,186)
#CAD3CE
(202,211,206)
#E0E5E2
(224,229,226)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #04311A color. Also use rgb(4,49,26) instead hex code.

Text Font Color

.myTextColor { color: #04311A; }

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

This text font color is #04311A.

Background Color

.myBgColor { background-color: #04311A; }

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

This div background color is #04311A.

Border color

.myBorderColor { border: 1px solid #04311A; }

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

This div border color is #04311A.

Opacity

.myOpacity80 { color: #04311A; opacity: 0.8; }

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

Text with #04311A 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 #04311A;}

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

This text has shadow with #04311A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #04311A.

Preview

Color preview on black background

This text has color #04311A on black background.


Color preview on white background

This text has color #04311A on white background.


Black color preview on #04311A background

This text has black color on #04311A background.


White color preview on #04311A background

This text has white color on #04311A background.


Related colors

Complementary color

Complementary color for #hex is #FBCEE5.


I love getcolorcode.com

Triadic colors

1 #1A0431 and #311A04 with #04311A are triadic colors.

2 #1A3104 and #31041A with #04311A are triadic colors.