COLOR #40241F

HEX: #40241F RGB: (64,36,31)

Color info

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

RGB color model

#40241F color RGB value is (64,36,31).

RGB: (64,36,31) (25%, 14%, 12%)

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 31 of 255 = 12%

64
36
31

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

Portions of RGB colors in percentages

R + G + B = 64 + 36 + 31 = 131 (100%)
R 64 of 131 ~ 48.85%
G 36 of 131 ~ 27.48%
B 31 of 131 ~ 23.66'%

%48.85
%27.48
%23.66

CMYK color model

#40241F color CMYK value is (0,44,52,75).

  • cyan value is 0.00%
  • magenta value is 43.75%
  • yellow value is 51.56%
  • key color value is 74.90%

CMYK: (0,44,52,75)
C0M44Y52K75 (0%, 44%, 52%, 75%)
(0.00 / 0.44 / 0.52 / 0.75)

CMYK percentages

%0
%43.75
%51.56
%74.9

Codes

Color #40241F in popluar color models

40 24 1F
RGB 64 36 31
HSL 34.74% 18.63%
HSB/HSV 51.56% 25.10%
CMYK 0.00% 43.75% 51.56%
74.90%

Color #40241F in popluar number systems.

HEX 40 24 1F
Decimal 64 36 31
Binary 1000000 100100 11111
Octal 100 44 37

Shades and tints

Shades of #40241F

#40241F
(64,36,31)
#3B211D
(59,33,29)
#361E1B
(54,30,27)
#311B19
(49,27,25)
#2C1817
(44,24,23)
#271515
(39,21,21)
#221213
(34,18,19)
#1D0F11
(29,15,17)
#180C0F
(24,12,15)
#13090D
(19,9,13)
#0E060B
(14,6,11)
#000000
(0,0,0)

Tints of #40241F

#40241F
(64,36,31)
#513733
(81,55,51)
#624A47
(98,74,71)
#735D5B
(115,93,91)
#84706F
(132,112,111)
#958383
(149,131,131)
#A69697
(166,150,151)
#B7A9AB
(183,169,171)
#C8BCBF
(200,188,191)
#D9CFD3
(217,207,211)
#EAE2E7
(234,226,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40241F color. Also use rgb(64,36,31) instead hex code.

Text Font Color

.myTextColor { color: #40241F; }

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

This text font color is #40241F.

Background Color

.myBgColor { background-color: #40241F; }

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

This div background color is #40241F.

Border color

.myBorderColor { border: 1px solid #40241F; }

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

This div border color is #40241F.

Opacity

.myOpacity80 { color: #40241F; opacity: 0.8; }

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

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

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

This text has shadow with #40241F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40241F.

Preview

Color preview on black background

This text has color #40241F on black background.


Color preview on white background

This text has color #40241F on white background.


Black color preview on #40241F background

This text has black color on #40241F background.


White color preview on #40241F background

This text has white color on #40241F background.


Related colors

Complementary color

Complementary color for #hex is #BFDBE0.


I love getcolorcode.com

Triadic colors

1 #1F4024 and #241F40 with #40241F are triadic colors.

2 #1F2440 and #24401F with #40241F are triadic colors.