COLOR #400221

HEX: #400221 RGB: (64,2,33)

Color info

#400221 contains mainly red and blue colors. Web safe color of #400221 is #330033 (or #303).

RGB color model

#400221 color RGB value is (64,2,33).

RGB: (64,2,33) (25%, 1%, 13%)

RGB channels and saturation

R 64 of 255 = 25%
G 2 of 255 = 1%
B 33 of 255 = 13%

64
2
33

R + G + B ~ 13%. #400221 is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 2 + 33 = 99 (100%)
R 64 of 99 ~ 64.65%
G 2 of 99 ~ 2.02%
B 33 of 99 ~ 33.33'%

%64.65
%33.33

CMYK color model

#400221 color CMYK value is (0,97,48,75).

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

CMYK: (0,97,48,75)
C0M97Y48K75 (0%, 97%, 48%, 75%)
(0.00 / 0.97 / 0.48 / 0.75)

CMYK percentages

%0
%96.88
%48.44
%74.9

Codes

Color #400221 in popluar color models

40 02 21
RGB 64 2 33
HSL 330° 93.94% 12.94%
HSB/HSV 330° 96.88% 25.10%
CMYK 0.00% 96.88% 48.44%
74.90%

Color #400221 in popluar number systems.

HEX 40 02 21
Decimal 64 2 33
Binary 1000000 10 100001
Octal 100 2 41

Shades and tints

Shades of #400221

#400221
(64,2,33)
#3B021E
(59,2,30)
#36021B
(54,2,27)
#310218
(49,2,24)
#2C0215
(44,2,21)
#270212
(39,2,18)
#22020F
(34,2,15)
#1D020C
(29,2,12)
#180209
(24,2,9)
#130206
(19,2,6)
#0E0203
(14,2,3)
#000000
(0,0,0)

Tints of #400221

#400221
(64,2,33)
#511935
(81,25,53)
#623049
(98,48,73)
#73475D
(115,71,93)
#845E71
(132,94,113)
#957585
(149,117,133)
#A68C99
(166,140,153)
#B7A3AD
(183,163,173)
#C8BAC1
(200,186,193)
#D9D1D5
(217,209,213)
#EAE8E9
(234,232,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #400221; }

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

This text font color is #400221.

Background Color

.myBgColor { background-color: #400221; }

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

This div background color is #400221.

Border color

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

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

This div border color is #400221.

Opacity

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

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

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

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

This text has shadow with #400221 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #400221.

Preview

Color preview on black background

This text has color #400221 on black background.


Color preview on white background

This text has color #400221 on white background.


Black color preview on #400221 background

This text has black color on #400221 background.


White color preview on #400221 background

This text has white color on #400221 background.


Related colors

Complementary color

Complementary color for #hex is #BFFDDE.


I love getcolorcode.com

Triadic colors

1 #214002 and #022140 with #400221 are triadic colors.

2 #210240 and #024021 with #400221 are triadic colors.