COLOR #40A41F

HEX: #40A41F
RGB: (64,164,31)

Color info

#40A41F contains mainly green color. Web safe color of #40A41F is #339933 (or #393).

RGB color model

#40A41F color RGB value is (64,164,31).

  • red value is 64;
  • green value is 164;
  • blue value is 31.
RGB:
(64,164,31)
(25%,64%,12%)

RGB channels and saturation

R 64 of 255 = 25%
G 164 of 255 = 64%
B 31 of 255 = 12%

64
164
31

R + G + B ~ 34%. #40A41F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
64 + 164 + 31 = 259 (100%)
R 64 of 259 ~ 24.71%
G 164 of 259 ~ 63.32%
B 31 of 259 ~ 11.97%

%24.71
%63.32
%11.97

CMYK color model

#40A41F color CMYK value is (61,0,81,36).

  • cyan value is 60.98%
  • magenta value is 0.00%
  • yellow value is 81.10%
  • key color value is 35.69%
CMYK:
(61,0,81,36)
C61M0Y81K36 
(61%,0%,81%,36%)
(0.61/0.00/0.81/0.36)	

CMYK percentages

%60.98
%0
%81.1
%35.69

Codes

Color #40A41F in popluar color models

40A41F
RGB6416431
HSL105°68.21%38.24%
HSB/HSV105°81.10%64.31%
CMYK60.98%0.00%81.10%
35.69%

Color #40A41F in popluar number systems.

HEX40A41F
Decimal6416431
Binary10000001010010011111
Octal10024437

Shades and tints

Shades of #40A41F

#40A41F
(64,164,31)
#3B961D
(59,150,29)
#36881B
(54,136,27)
#317A19
(49,122,25)
#2C6C17
(44,108,23)
#275E15
(39,94,21)
#225013
(34,80,19)
#1D4211
(29,66,17)
#18340F
(24,52,15)
#13260D
(19,38,13)
#0E180B
(14,24,11)
#000000
(0,0,0)

Tints of #40A41F

#40A41F
(64,164,31)
#51AC33
(81,172,51)
#62B447
(98,180,71)
#73BC5B
(115,188,91)
#84C46F
(132,196,111)
#95CC83
(149,204,131)
#A6D497
(166,212,151)
#B7DCAB
(183,220,171)
#C8E4BF
(200,228,191)
#D9ECD3
(217,236,211)
#EAF4E7
(234,244,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #40A41F color. Also use rgb(64,164,31) instead hex code.

Text Font Color

.myTextColor { color: #40A41F; }

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

This text font color is #40A41F.


Background Color

.myBgColor { background-color: #40A41F; }

<div style="background-color:#40A41F">Inner text</div>

This div background color is #40A41F.


Border color

.myBorderColor { border: 1px solid #40A41F; }

<div style="border:3px solid #40A41F">Div</div>

This div border color is #40A41F.


Opacity

.myOpacity80 { color: #40A41F; opacity: 0.8; }

<p style="color:#40A41F;opacity:0.8;">80%</p>

Text with #40A41F 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 #40A41F;}

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

This text has shadow with #40A41F color.

.textShadow {text-shadow: 3px 3px 1px #40A41F, 3px 3px 1px red;}

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

This text has shadow with #40A41F primary color and red secondary color.


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

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

This text has shadow with #40A41F and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #40A41F on black background.


Color preview on white background

This text has color #40A41F on white background.



Black color preview on #40A41F background

This text has black color on #40A41F background.


White color preview on #40A41F background

This text has white color on #40A41F background.