COLOR #402221

HEX: #402221
RGB: (64,34,33)

Color info

#402221 contains red, green and blue colors in about the same proportion. Web safe color of #402221 is #333333 (or #333).

RGB color model

#402221 color RGB value is (64,34,33).

  • red value is 64;
  • green value is 34;
  • blue value is 33.
RGB:
(64,34,33)
(25%,13%,13%)

RGB channels and saturation

R 64 of 255 = 25%
G 34 of 255 = 13%
B 33 of 255 = 13%

64
34
33

R + G + B ~ 17%. #402221 is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 34 + 33 = 131 (100%)
R 64 of 131 ~ 48.85%
G 34 of 131 ~ 25.95%
B 33 of 131 ~ 25.19%

%48.85
%25.95
%25.19

CMYK color model

#402221 color CMYK value is (0,47,48,75).

  • cyan value is 0.00%
  • magenta value is 46.88%
  • yellow value is 48.44%
  • key color value is 74.90%
CMYK:
(0,47,48,75)
C0M47Y48K75 
(0%,47%,48%,75%)
(0.00/0.47/0.48/0.75)	

CMYK percentages

%0
%46.88
%48.44
%74.9

Codes

Color #402221 in popluar color models

402221
RGB643433
HSL31.96%19.02%
HSB/HSV48.44%25.10%
CMYK0.00%46.88%48.44%
74.90%

Color #402221 in popluar number systems.

HEX402221
Decimal643433
Binary1000000100010100001
Octal1004241

Shades and tints

Shades of #402221

#402221
(64,34,33)
#3B1F1E
(59,31,30)
#361C1B
(54,28,27)
#311918
(49,25,24)
#2C1615
(44,22,21)
#271312
(39,19,18)
#22100F
(34,16,15)
#1D0D0C
(29,13,12)
#180A09
(24,10,9)
#130706
(19,7,6)
#0E0403
(14,4,3)
#000000
(0,0,0)

Tints of #402221

#402221
(64,34,33)
#513635
(81,54,53)
#624A49
(98,74,73)
#735E5D
(115,94,93)
#847271
(132,114,113)
#958685
(149,134,133)
#A69A99
(166,154,153)
#B7AEAD
(183,174,173)
#C8C2C1
(200,194,193)
#D9D6D5
(217,214,213)
#EAEAE9
(234,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #402221; }

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

This text font color is #402221.


Background Color

.myBgColor { background-color: #402221; }

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

This div background color is #402221.


Border color

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

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

This div border color is #402221.


Opacity

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

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

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

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

This text has shadow with #402221 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #402221 on black background.


Color preview on white background

This text has color #402221 on white background.



Black color preview on #402221 background

This text has black color on #402221 background.


White color preview on #402221 background

This text has white color on #402221 background.