COLOR #40212E

HEX: #40212E RGB: (64,33,46)

Color info

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

RGB color model

#40212E color RGB value is (64,33,46).

RGB: (64,33,46) (25%, 13%, 18%)

RGB channels and saturation

R 64 of 255 = 25%
G 33 of 255 = 13%
B 46 of 255 = 18%

64
33
46

R + G + B ~ 19%. #40212E is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 33 + 46 = 143 (100%)
R 64 of 143 ~ 44.76%
G 33 of 143 ~ 23.08%
B 46 of 143 ~ 32.17'%

%44.76
%23.08
%32.17

CMYK color model

#40212E color CMYK value is (0,48,28,75).

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

CMYK: (0,48,28,75)
C0M48Y28K75 (0%, 48%, 28%, 75%)
(0.00 / 0.48 / 0.28 / 0.75)

CMYK percentages

%0
%48.44
%28.13
%74.9

Codes

Color #40212E in popluar color models

40 21 2E
RGB 64 33 46
HSL 335° 31.96% 19.02%
HSB/HSV 335° 48.44% 25.10%
CMYK 0.00% 48.44% 28.13%
74.90%

Color #40212E in popluar number systems.

HEX 40 21 2E
Decimal 64 33 46
Binary 1000000 100001 101110
Octal 100 41 56

Shades and tints

Shades of #40212E

#40212E
(64,33,46)
#3B1E2A
(59,30,42)
#361B26
(54,27,38)
#311822
(49,24,34)
#2C151E
(44,21,30)
#27121A
(39,18,26)
#220F16
(34,15,22)
#1D0C12
(29,12,18)
#18090E
(24,9,14)
#13060A
(19,6,10)
#0E0306
(14,3,6)
#000000
(0,0,0)

Tints of #40212E

#40212E
(64,33,46)
#513541
(81,53,65)
#624954
(98,73,84)
#735D67
(115,93,103)
#84717A
(132,113,122)
#95858D
(149,133,141)
#A699A0
(166,153,160)
#B7ADB3
(183,173,179)
#C8C1C6
(200,193,198)
#D9D5D9
(217,213,217)
#EAE9EC
(234,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40212E; }

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

This text font color is #40212E.

Background Color

.myBgColor { background-color: #40212E; }

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

This div background color is #40212E.

Border color

.myBorderColor { border: 1px solid #40212E; }

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

This div border color is #40212E.

Opacity

.myOpacity80 { color: #40212E; opacity: 0.8; }

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

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

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

This text has shadow with #40212E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40212E.

Preview

Color preview on black background

This text has color #40212E on black background.


Color preview on white background

This text has color #40212E on white background.


Black color preview on #40212E background

This text has black color on #40212E background.


White color preview on #40212E background

This text has white color on #40212E background.


Related colors

Complementary color

Complementary color for #hex is #BFDED1.


I love getcolorcode.com

Triadic colors

1 #2E4021 and #212E40 with #40212E are triadic colors.

2 #2E2140 and #21402E with #40212E are triadic colors.