COLOR #1F4C17

HEX: #1F4C17 RGB: (31,76,23)

Color info

#1F4C17 contains red, green and blue colors in about the same proportion. Web safe color of #1F4C17 is #333300 (or #330).

RGB color model

#1F4C17 color RGB value is (31,76,23).

RGB: (31,76,23) (12%, 30%, 9%)

RGB channels and saturation

R 31 of 255 = 12%
G 76 of 255 = 30%
B 23 of 255 = 9%

31
76
23

R + G + B ~ 17%. #1F4C17 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 76 + 23 = 130 (100%)
R 31 of 130 ~ 23.85%
G 76 of 130 ~ 58.46%
B 23 of 130 ~ 17.69'%

%23.85
%58.46
%17.69

CMYK color model

#1F4C17 color CMYK value is (59,0,70,70).

  • cyan value is 59.21%
  • magenta value is 0.00%
  • yellow value is 69.74%
  • key color value is 70.20%

CMYK: (59,0,70,70)
C59M0Y70K70 (59%, 0%, 70%, 70%)
(0.59 / 0.00 / 0.70 / 0.70)

CMYK percentages

%59.21
%0
%69.74
%70.2

Codes

Color #1F4C17 in popluar color models

1F 4C 17
RGB 31 76 23
HSL 111° 53.54% 19.41%
HSB/HSV 111° 69.74% 29.80%
CMYK 59.21% 0.00% 69.74%
70.20%

Color #1F4C17 in popluar number systems.

HEX 1F 4C 17
Decimal 31 76 23
Binary 11111 1001100 10111
Octal 37 114 27

Shades and tints

Shades of #1F4C17

#1F4C17
(31,76,23)
#1D4615
(29,70,21)
#1B4013
(27,64,19)
#193A11
(25,58,17)
#17340F
(23,52,15)
#152E0D
(21,46,13)
#13280B
(19,40,11)
#112209
(17,34,9)
#0F1C07
(15,28,7)
#0D1605
(13,22,5)
#0B1003
(11,16,3)
#000000
(0,0,0)

Tints of #1F4C17

#1F4C17
(31,76,23)
#335C2C
(51,92,44)
#476C41
(71,108,65)
#5B7C56
(91,124,86)
#6F8C6B
(111,140,107)
#839C80
(131,156,128)
#97AC95
(151,172,149)
#ABBCAA
(171,188,170)
#BFCCBF
(191,204,191)
#D3DCD4
(211,220,212)
#E7ECE9
(231,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F4C17 color. Also use rgb(31,76,23) instead hex code.

Text Font Color

.myTextColor { color: #1F4C17; }

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

This text font color is #1F4C17.

Background Color

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

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

This div background color is #1F4C17.

Border color

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

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

This div border color is #1F4C17.

Opacity

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

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

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

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

This text has shadow with #1F4C17 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F4C17.

Preview

Color preview on black background

This text has color #1F4C17 on black background.


Color preview on white background

This text has color #1F4C17 on white background.


Black color preview on #1F4C17 background

This text has black color on #1F4C17 background.


White color preview on #1F4C17 background

This text has white color on #1F4C17 background.


Related colors

Complementary color

Complementary color for #hex is #E0B3E8.


I love getcolorcode.com

Triadic colors

1 #171F4C and #4C171F with #1F4C17 are triadic colors.

2 #174C1F and #4C1F17 with #1F4C17 are triadic colors.