COLOR #40382A

HEX: #40382A RGB: (64,56,42)

Color info

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

RGB color model

#40382A color RGB value is (64,56,42).

RGB: (64,56,42) (25%, 22%, 16%)

RGB channels and saturation

R 64 of 255 = 25%
G 56 of 255 = 22%
B 42 of 255 = 16%

64
56
42

R + G + B ~ 21%. #40382A is dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 56 + 42 = 162 (100%)
R 64 of 162 ~ 39.51%
G 56 of 162 ~ 34.57%
B 42 of 162 ~ 25.93'%

%39.51
%34.57
%25.93

CMYK color model

#40382A color CMYK value is (0,13,34,75).

  • cyan value is 0.00%
  • magenta value is 12.50%
  • yellow value is 34.38%
  • key color value is 74.90%
CMYK: (0,13,34,75) C0M13Y34K75 (0%,13%,34%,75%) (0.00/0.13/0.34/0.75) 

CMYK percentages

%0
%12.5
%34.38
%74.9

Codes

Color #40382A in popluar color models

40 38 2A
RGB 64 56 42
HSL 38° 20.75% 20.78%
HSB/HSV 38° 34.38% 25.10%
CMYK 0.00% 12.50% 34.38%
74.90%

Color #40382A in popluar number systems.

HEX 40 38 2A
Decimal 64 56 42
Binary 1000000 111000 101010
Octal 100 70 52

Shades and tints

Shades of #40382A

#40382A
(64,56,42)
#3B3327
(59,51,39)
#362E24
(54,46,36)
#312921
(49,41,33)
#2C241E
(44,36,30)
#271F1B
(39,31,27)
#221A18
(34,26,24)
#1D1515
(29,21,21)
#181012
(24,16,18)
#130B0F
(19,11,15)
#0E060C
(14,6,12)
#000000
(0,0,0)

Tints of #40382A

#40382A
(64,56,42)
#514A3D
(81,74,61)
#625C50
(98,92,80)
#736E63
(115,110,99)
#848076
(132,128,118)
#959289
(149,146,137)
#A6A49C
(166,164,156)
#B7B6AF
(183,182,175)
#C8C8C2
(200,200,194)
#D9DAD5
(217,218,213)
#EAECE8
(234,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40382A color. Also use rgb(64,56,42) instead hex code.

Text Font Color

.myTextColor { color: #40382A; }

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

This text font color is #40382A.

Background Color

.myBgColor { background-color: #40382A; }

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

This div background color is #40382A.

Border color

.myBorderColor { border: 1px solid #40382A; }

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

This div border color is #40382A.

Opacity

.myOpacity80 { color: #40382A; opacity: 0.8; }

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

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

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

This text has shadow with #40382A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40382A.

Preview

Color preview on black background

This text has color #40382A on black background.


Color preview on white background

This text has color #40382A on white background.


Black color preview on #40382A background

This text has black color on #40382A background.


White color preview on #40382A background

This text has white color on #40382A background.


Related colors

Complementary color

Complementary color for #hex is #BFC7D5.


I love getcolorcode.com

Triadic colors

1 #2A4038 and #382A40 with #40382A are triadic colors.

2 #2A3840 and #38402A with #40382A are triadic colors.