COLOR #40580F

HEX: #40580F
RGB: (64,88,15)

Color info

#40580F contains mainly red and green colors. Web safe color of #40580F is #336600 (or #360).

RGB color model

#40580F color RGB value is (64,88,15).

  • red value is 64;
  • green value is 88;
  • blue value is 15.
RGB:
(64,88,15)
(25%,35%,6%)

RGB channels and saturation

R 64 of 255 = 25%
G 88 of 255 = 35%
B 15 of 255 = 6%

64
88
15

R + G + B ~ 22%. #40580F is dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 88 + 15 = 167 (100%)
R 64 of 167 ~ 38.32%
G 88 of 167 ~ 52.69%
B 15 of 167 ~ 8.98%

%38.32
%52.69

CMYK color model

#40580F color CMYK value is (27,0,83,65).

  • cyan value is 27.27%
  • magenta value is 0.00%
  • yellow value is 82.95%
  • key color value is 65.49%
CMYK:
(27,0,83,65)
C27M0Y83K65 
(27%,0%,83%,65%)
(0.27/0.00/0.83/0.65)	

CMYK percentages

%27.27
%0
%82.95
%65.49

Codes

Color #40580F in popluar color models

40580F
RGB648815
HSL80°70.87%20.20%
HSB/HSV80°82.95%34.51%
CMYK27.27%0.00%82.95%
65.49%

Color #40580F in popluar number systems.

HEX40580F
Decimal648815
Binary100000010110001111
Octal10013017

Shades and tints

Shades of #40580F

#40580F
(64,88,15)
#3B500E
(59,80,14)
#36480D
(54,72,13)
#31400C
(49,64,12)
#2C380B
(44,56,11)
#27300A
(39,48,10)
#222809
(34,40,9)
#1D2008
(29,32,8)
#181807
(24,24,7)
#131006
(19,16,6)
#0E0805
(14,8,5)
#000000
(0,0,0)

Tints of #40580F

#40580F
(64,88,15)
#516724
(81,103,36)
#627639
(98,118,57)
#73854E
(115,133,78)
#849463
(132,148,99)
#95A378
(149,163,120)
#A6B28D
(166,178,141)
#B7C1A2
(183,193,162)
#C8D0B7
(200,208,183)
#D9DFCC
(217,223,204)
#EAEEE1
(234,238,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40580F color. Also use rgb(64,88,15) instead hex code.

Text Font Color

.myTextColor { color: #40580F; }

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

This text font color is #40580F.


Background Color

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

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

This div background color is #40580F.


Border color

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

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

This div border color is #40580F.


Opacity

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

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

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

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

This text has shadow with #40580F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40580F on black background.


Color preview on white background

This text has color #40580F on white background.



Black color preview on #40580F background

This text has black color on #40580F background.


White color preview on #40580F background

This text has white color on #40580F background.