COLOR #40582A

HEX: #40582A RGB: (64,88,42)

Color info

#40582A contains red, green and blue colors in about the same proportion. Web safe color of #40582A is #336633 (or #363).

RGB color model

#40582A color RGB value is (64,88,42).

RGB: (64,88,42) (25%, 35%, 16%)

RGB channels and saturation

R 64 of 255 = 25%
G 88 of 255 = 35%
B 42 of 255 = 16%

64
88
42

R + G + B ~ 25%. #40582A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 64 + 88 + 42 = 194 (100%)
R 64 of 194 ~ 32.99%
G 88 of 194 ~ 45.36%
B 42 of 194 ~ 21.65'%

%32.99
%45.36
%21.65

CMYK color model

#40582A color CMYK value is (27,0,52,65).

  • cyan value is 27.27%
  • magenta value is 0.00%
  • yellow value is 52.27%
  • key color value is 65.49%

CMYK: (27,0,52,65)
C27M0Y52K65 (27%, 0%, 52%, 65%)
(0.27 / 0.00 / 0.52 / 0.65)

CMYK percentages

%27.27
%0
%52.27
%65.49

Codes

Color #40582A in popluar color models

40 58 2A
RGB 64 88 42
HSL 91° 35.38% 25.49%
HSB/HSV 91° 52.27% 34.51%
CMYK 27.27% 0.00% 52.27%
65.49%

Color #40582A in popluar number systems.

HEX 40 58 2A
Decimal 64 88 42
Binary 1000000 1011000 101010
Octal 100 130 52

Shades and tints

Shades of #40582A

#40582A
(64,88,42)
#3B5027
(59,80,39)
#364824
(54,72,36)
#314021
(49,64,33)
#2C381E
(44,56,30)
#27301B
(39,48,27)
#222818
(34,40,24)
#1D2015
(29,32,21)
#181812
(24,24,18)
#13100F
(19,16,15)
#0E080C
(14,8,12)
#000000
(0,0,0)

Tints of #40582A

#40582A
(64,88,42)
#51673D
(81,103,61)
#627650
(98,118,80)
#738563
(115,133,99)
#849476
(132,148,118)
#95A389
(149,163,137)
#A6B29C
(166,178,156)
#B7C1AF
(183,193,175)
#C8D0C2
(200,208,194)
#D9DFD5
(217,223,213)
#EAEEE8
(234,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #40582A; }

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

This text font color is #40582A.

Background Color

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

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

This div background color is #40582A.

Border color

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

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

This div border color is #40582A.

Opacity

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

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

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

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

This text has shadow with #40582A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #40582A.

Preview

Color preview on black background

This text has color #40582A on black background.


Color preview on white background

This text has color #40582A on white background.


Black color preview on #40582A background

This text has black color on #40582A background.


White color preview on #40582A background

This text has white color on #40582A background.


Related colors

Complementary color

Complementary color for #hex is #BFA7D5.


I love getcolorcode.com

Triadic colors

1 #2A4058 and #582A40 with #40582A are triadic colors.

2 #2A5840 and #58402A with #40582A are triadic colors.