COLOR #401821

HEX: #401821 RGB: (64,24,33)

Color info

#401821 contains red, green and blue colors in about the same proportion. Web safe color of #401821 is #330033 (or #303).

RGB color model

#401821 color RGB value is (64,24,33).

RGB: (64,24,33) (25%, 9%, 13%)

RGB channels and saturation

R 64 of 255 = 25%
G 24 of 255 = 9%
B 33 of 255 = 13%

64
24
33

R + G + B ~ 16%. #401821 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 24 + 33 = 121 (100%)
R 64 of 121 ~ 52.89%
G 24 of 121 ~ 19.83%
B 33 of 121 ~ 27.27'%

%52.89
%19.83
%27.27

CMYK color model

#401821 color CMYK value is (0,63,48,75).

  • cyan value is 0.00%
  • magenta value is 62.50%
  • yellow value is 48.44%
  • key color value is 74.90%

CMYK: (0,63,48,75)
C0M63Y48K75 (0%, 63%, 48%, 75%)
(0.00 / 0.63 / 0.48 / 0.75)

CMYK percentages

%0
%62.5
%48.44
%74.9

Codes

Color #401821 in popluar color models

40 18 21
RGB 64 24 33
HSL 347° 45.45% 17.25%
HSB/HSV 347° 62.50% 25.10%
CMYK 0.00% 62.50% 48.44%
74.90%

Color #401821 in popluar number systems.

HEX 40 18 21
Decimal 64 24 33
Binary 1000000 11000 100001
Octal 100 30 41

Shades and tints

Shades of #401821

#401821
(64,24,33)
#3B161E
(59,22,30)
#36141B
(54,20,27)
#311218
(49,18,24)
#2C1015
(44,16,21)
#270E12
(39,14,18)
#220C0F
(34,12,15)
#1D0A0C
(29,10,12)
#180809
(24,8,9)
#130606
(19,6,6)
#0E0403
(14,4,3)
#000000
(0,0,0)

Tints of #401821

#401821
(64,24,33)
#512D35
(81,45,53)
#624249
(98,66,73)
#73575D
(115,87,93)
#846C71
(132,108,113)
#958185
(149,129,133)
#A69699
(166,150,153)
#B7ABAD
(183,171,173)
#C8C0C1
(200,192,193)
#D9D5D5
(217,213,213)
#EAEAE9
(234,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #401821 color. Also use rgb(64,24,33) instead hex code.

Text Font Color

.myTextColor { color: #401821; }

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

This text font color is #401821.

Background Color

.myBgColor { background-color: #401821; }

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

This div background color is #401821.

Border color

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

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

This div border color is #401821.

Opacity

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

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

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

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

This text has shadow with #401821 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #401821.

Preview

Color preview on black background

This text has color #401821 on black background.


Color preview on white background

This text has color #401821 on white background.


Black color preview on #401821 background

This text has black color on #401821 background.


White color preview on #401821 background

This text has white color on #401821 background.


Related colors

Complementary color

Complementary color for #hex is #BFE7DE.


I love getcolorcode.com

Triadic colors

1 #214018 and #182140 with #401821 are triadic colors.

2 #211840 and #184021 with #401821 are triadic colors.