COLOR #1F5A12

HEX: #1F5A12 RGB: (31,90,18)

Color info

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

RGB color model

#1F5A12 color RGB value is (31,90,18).

RGB: (31,90,18) (12%, 35%, 7%)

RGB channels and saturation

R 31 of 255 = 12%
G 90 of 255 = 35%
B 18 of 255 = 7%

31
90
18

R + G + B ~ 18%. #1F5A12 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 90 + 18 = 139 (100%)
R 31 of 139 ~ 22.3%
G 90 of 139 ~ 64.75%
B 18 of 139 ~ 12.95'%

%22.3
%64.75
%12.95

CMYK color model

#1F5A12 color CMYK value is (66,0,80,65).

  • cyan value is 65.56%
  • magenta value is 0.00%
  • yellow value is 80.00%
  • key color value is 64.71%

CMYK: (66,0,80,65)
C66M0Y80K65 (66%, 0%, 80%, 65%)
(0.66 / 0.00 / 0.80 / 0.65)

CMYK percentages

%65.56
%0
%80
%64.71

Codes

Color #1F5A12 in popluar color models

1F 5A 12
RGB 31 90 18
HSL 109° 66.67% 21.18%
HSB/HSV 109° 80.00% 35.29%
CMYK 65.56% 0.00% 80.00%
64.71%

Color #1F5A12 in popluar number systems.

HEX 1F 5A 12
Decimal 31 90 18
Binary 11111 1011010 10010
Octal 37 132 22

Shades and tints

Shades of #1F5A12

#1F5A12
(31,90,18)
#1D5211
(29,82,17)
#1B4A10
(27,74,16)
#19420F
(25,66,15)
#173A0E
(23,58,14)
#15320D
(21,50,13)
#132A0C
(19,42,12)
#11220B
(17,34,11)
#0F1A0A
(15,26,10)
#0D1209
(13,18,9)
#0B0A08
(11,10,8)
#000000
(0,0,0)

Tints of #1F5A12

#1F5A12
(31,90,18)
#336927
(51,105,39)
#47783C
(71,120,60)
#5B8751
(91,135,81)
#6F9666
(111,150,102)
#83A57B
(131,165,123)
#97B490
(151,180,144)
#ABC3A5
(171,195,165)
#BFD2BA
(191,210,186)
#D3E1CF
(211,225,207)
#E7F0E4
(231,240,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F5A12 color. Also use rgb(31,90,18) instead hex code.

Text Font Color

.myTextColor { color: #1F5A12; }

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

This text font color is #1F5A12.

Background Color

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

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

This div background color is #1F5A12.

Border color

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

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

This div border color is #1F5A12.

Opacity

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

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

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

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

This text has shadow with #1F5A12 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F5A12.

Preview

Color preview on black background

This text has color #1F5A12 on black background.


Color preview on white background

This text has color #1F5A12 on white background.


Black color preview on #1F5A12 background

This text has black color on #1F5A12 background.


White color preview on #1F5A12 background

This text has white color on #1F5A12 background.


Related colors

Complementary color

Complementary color for #hex is #E0A5ED.


I love getcolorcode.com

Triadic colors

1 #121F5A and #5A121F with #1F5A12 are triadic colors.

2 #125A1F and #5A1F12 with #1F5A12 are triadic colors.