COLOR #40242C

HEX: #40242C RGB: (64,36,44)

Color info

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

RGB color model

#40242C color RGB value is (64,36,44).

RGB: (64,36,44) (25%, 14%, 17%)

RGB channels and saturation

R 64 of 255 = 25%
G 36 of 255 = 14%
B 44 of 255 = 17%

64
36
44

R + G + B ~ 19%. #40242C is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 36 + 44 = 144 (100%)
R 64 of 144 ~ 44.44%
G 36 of 144 ~ 25%
B 44 of 144 ~ 30.56'%

%44.44
%25
%30.56

CMYK color model

#40242C color CMYK value is (0,44,31,75).

  • cyan value is 0.00%
  • magenta value is 43.75%
  • yellow value is 31.25%
  • key color value is 74.90%
CMYK: (0,44,31,75) C0M44Y31K75 (0%,44%,31%,75%) (0.00/0.44/0.31/0.75) 

CMYK percentages

%0
%43.75
%31.25
%74.9

Codes

Color #40242C in popluar color models

40 24 2C
RGB 64 36 44
HSL 343° 28.00% 19.61%
HSB/HSV 343° 43.75% 25.10%
CMYK 0.00% 43.75% 31.25%
74.90%

Color #40242C in popluar number systems.

HEX 40 24 2C
Decimal 64 36 44
Binary 1000000 100100 101100
Octal 100 44 54

Shades and tints

Shades of #40242C

#40242C
(64,36,44)
#3B2128
(59,33,40)
#361E24
(54,30,36)
#311B20
(49,27,32)
#2C181C
(44,24,28)
#271518
(39,21,24)
#221214
(34,18,20)
#1D0F10
(29,15,16)
#180C0C
(24,12,12)
#130908
(19,9,8)
#0E0604
(14,6,4)
#000000
(0,0,0)

Tints of #40242C

#40242C
(64,36,44)
#51373F
(81,55,63)
#624A52
(98,74,82)
#735D65
(115,93,101)
#847078
(132,112,120)
#95838B
(149,131,139)
#A6969E
(166,150,158)
#B7A9B1
(183,169,177)
#C8BCC4
(200,188,196)
#D9CFD7
(217,207,215)
#EAE2EA
(234,226,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40242C color. Also use rgb(64,36,44) instead hex code.

Text Font Color

.myTextColor { color: #40242C; }

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

This text font color is #40242C.

Background Color

.myBgColor { background-color: #40242C; }

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

This div background color is #40242C.

Border color

.myBorderColor { border: 1px solid #40242C; }

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

This div border color is #40242C.

Opacity

.myOpacity80 { color: #40242C; opacity: 0.8; }

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

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

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

This text has shadow with #40242C color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40242C.

Preview

Color preview on black background

This text has color #40242C on black background.


Color preview on white background

This text has color #40242C on white background.


Black color preview on #40242C background

This text has black color on #40242C background.


White color preview on #40242C background

This text has white color on #40242C background.


Related colors

Complementary color

Complementary color for #hex is #BFDBD3.


I love getcolorcode.com

Triadic colors

1 #2C4024 and #242C40 with #40242C are triadic colors.

2 #2C2440 and #24402C with #40242C are triadic colors.