COLOR #041A1F

HEX: #041A1F
RGB: (4,26,31)

Color info

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

RGB color model

#041A1F color RGB value is (4,26,31).

  • red value is 4;
  • green value is 26;
  • blue value is 31.
RGB:
(4,26,31)
(2%,10%,12%)

RGB channels and saturation

R 4 of 255 = 2%
G 26 of 255 = 10%
B 31 of 255 = 12%

4
26
31

R + G + B ~ 8%. #041A1F is dark color.

Portions of RGB colors in percentages

R + G + B =
4 + 26 + 31 = 61 (100%)
R 4 of 61 ~ 6.56%
G 26 of 61 ~ 42.62%
B 31 of 61 ~ 50.82%

%42.62
%50.82

CMYK color model

#041A1F color CMYK value is (87,16,0,88).

  • cyan value is 87.10%
  • magenta value is 16.13%
  • yellow value is 0.00%
  • key color value is 87.84%
CMYK:
(87,16,0,88)
C87M16Y0K88 
(87%,16%,0%,88%)
(0.87/0.16/0.00/0.88)	

CMYK percentages

%87.1
%16.13
%0
%87.84

Codes

Color #041A1F in popluar color models

041A1F
RGB42631
HSL191°77.14%6.86%
HSB/HSV191°87.10%12.16%
CMYK87.10%16.13%0.00%
87.84%

Color #041A1F in popluar number systems.

HEX041A1F
Decimal42631
Binary1001101011111
Octal43237

Shades and tints

Shades of #041A1F

#041A1F
(4,26,31)
#04181D
(4,24,29)
#04161B
(4,22,27)
#041419
(4,20,25)
#041217
(4,18,23)
#041015
(4,16,21)
#040E13
(4,14,19)
#040C11
(4,12,17)
#040A0F
(4,10,15)
#04080D
(4,8,13)
#04060B
(4,6,11)
#000000
(0,0,0)

Tints of #041A1F

#041A1F
(4,26,31)
#1A2E33
(26,46,51)
#304247
(48,66,71)
#46565B
(70,86,91)
#5C6A6F
(92,106,111)
#727E83
(114,126,131)
#889297
(136,146,151)
#9EA6AB
(158,166,171)
#B4BABF
(180,186,191)
#CACED3
(202,206,211)
#E0E2E7
(224,226,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #041A1F color. Also use rgb(4,26,31) instead hex code.

Text Font Color

.myTextColor { color: #041A1F; }

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

This text font color is #041A1F.


Background Color

.myBgColor { background-color: #041A1F; }

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

This div background color is #041A1F.


Border color

.myBorderColor { border: 1px solid #041A1F; }

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

This div border color is #041A1F.


Opacity

.myOpacity80 { color: #041A1F; opacity: 0.8; }

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

Text with #041A1F 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 #041A1F;}

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

This text has shadow with #041A1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #041A1F on black background.


Color preview on white background

This text has color #041A1F on white background.



Black color preview on #041A1F background

This text has black color on #041A1F background.


White color preview on #041A1F background

This text has white color on #041A1F background.