COLOR #1F4A07

HEX: #1F4A07 RGB: (31,74,7)

Color info

#1F4A07 contains mainly red and green colors. Web safe color of #1F4A07 is #333300 (or #330).

RGB color model

#1F4A07 color RGB value is (31,74,7).

RGB: (31,74,7) (12%, 29%, 3%)

RGB channels and saturation

R 31 of 255 = 12%
G 74 of 255 = 29%
B 7 of 255 = 3%

31
74
7

R + G + B ~ 15%. #1F4A07 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 74 + 7 = 112 (100%)
R 31 of 112 ~ 27.68%
G 74 of 112 ~ 66.07%
B 7 of 112 ~ 6.25'%

%27.68
%66.07

CMYK color model

#1F4A07 color CMYK value is (58,0,91,71).

  • cyan value is 58.11%
  • magenta value is 0.00%
  • yellow value is 90.54%
  • key color value is 70.98%

CMYK: (58,0,91,71)
C58M0Y91K71 (58%, 0%, 91%, 71%)
(0.58 / 0.00 / 0.91 / 0.71)

CMYK percentages

%58.11
%0
%90.54
%70.98

Codes

Color #1F4A07 in popluar color models

1F 4A 07
RGB 31 74 7
HSL 99° 82.72% 15.88%
HSB/HSV 99° 90.54% 29.02%
CMYK 58.11% 0.00% 90.54%
70.98%

Color #1F4A07 in popluar number systems.

HEX 1F 4A 07
Decimal 31 74 7
Binary 11111 1001010 111
Octal 37 112 7

Shades and tints

Shades of #1F4A07

#1F4A07
(31,74,7)
#1D4407
(29,68,7)
#1B3E07
(27,62,7)
#193807
(25,56,7)
#173207
(23,50,7)
#152C07
(21,44,7)
#132607
(19,38,7)
#112007
(17,32,7)
#0F1A07
(15,26,7)
#0D1407
(13,20,7)
#0B0E07
(11,14,7)
#000000
(0,0,0)

Tints of #1F4A07

#1F4A07
(31,74,7)
#335A1D
(51,90,29)
#476A33
(71,106,51)
#5B7A49
(91,122,73)
#6F8A5F
(111,138,95)
#839A75
(131,154,117)
#97AA8B
(151,170,139)
#ABBAA1
(171,186,161)
#BFCAB7
(191,202,183)
#D3DACD
(211,218,205)
#E7EAE3
(231,234,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4A07 color. Also use rgb(31,74,7) instead hex code.

Text Font Color

.myTextColor { color: #1F4A07; }

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

This text font color is #1F4A07.

Background Color

.myBgColor { background-color: #1F4A07; }

<div style="background-color:#1F4A07">Inner text</div>

This div background color is #1F4A07.

Border color

.myBorderColor { border: 1px solid #1F4A07; }

<div style="border:3px solid #1F4A07">Div</div>

This div border color is #1F4A07.

Opacity

.myOpacity80 { color: #1F4A07; opacity: 0.8; }

<p style="color:#1F4A07;opacity:0.8;">80%</p>

Text with #1F4A07 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 #1F4A07;}

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

This text has shadow with #1F4A07 color.


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

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

This text has shadow with #1F4A07 primary color and red secondary color.


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

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

This text has shadow with #1F4A07 and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #1F4A07.

Preview

Color preview on black background

This text has color #1F4A07 on black background.


Color preview on white background

This text has color #1F4A07 on white background.


Black color preview on #1F4A07 background

This text has black color on #1F4A07 background.


White color preview on #1F4A07 background

This text has white color on #1F4A07 background.


Related colors

Complementary color

Complementary color for #hex is #E0B5F8.


I love getcolorcode.com

Triadic colors

1 #071F4A and #4A071F with #1F4A07 are triadic colors.

2 #074A1F and #4A1F07 with #1F4A07 are triadic colors.