COLOR #1F6238

HEX: #1F6238 RGB: (31,98,56)

Color info

#1F6238 contains mainly green and blue colors. Web safe color of #1F6238 is #336633 (or #363).

RGB color model

#1F6238 color RGB value is (31,98,56).

RGB: (31,98,56) (12%, 38%, 22%)

RGB channels and saturation

R 31 of 255 = 12%
G 98 of 255 = 38%
B 56 of 255 = 22%

31
98
56

R + G + B ~ 24%. #1F6238 is dark color.

Portions of RGB colors in percentages

R + G + B = 31 + 98 + 56 = 185 (100%)
R 31 of 185 ~ 16.76%
G 98 of 185 ~ 52.97%
B 56 of 185 ~ 30.27'%

%16.76
%52.97
%30.27

CMYK color model

#1F6238 color CMYK value is (68,0,43,62).

  • cyan value is 68.37%
  • magenta value is 0.00%
  • yellow value is 42.86%
  • key color value is 61.57%

CMYK: (68,0,43,62)
C68M0Y43K62 (68%, 0%, 43%, 62%)
(0.68 / 0.00 / 0.43 / 0.62)

CMYK percentages

%68.37
%0
%42.86
%61.57

Codes

Color #1F6238 in popluar color models

1F 62 38
RGB 31 98 56
HSL 142° 51.94% 25.29%
HSB/HSV 142° 68.37% 38.43%
CMYK 68.37% 0.00% 42.86%
61.57%

Color #1F6238 in popluar number systems.

HEX 1F 62 38
Decimal 31 98 56
Binary 11111 1100010 111000
Octal 37 142 70

Shades and tints

Shades of #1F6238

#1F6238
(31,98,56)
#1D5A33
(29,90,51)
#1B522E
(27,82,46)
#194A29
(25,74,41)
#174224
(23,66,36)
#153A1F
(21,58,31)
#13321A
(19,50,26)
#112A15
(17,42,21)
#0F2210
(15,34,16)
#0D1A0B
(13,26,11)
#0B1206
(11,18,6)
#000000
(0,0,0)

Tints of #1F6238

#1F6238
(31,98,56)
#33704A
(51,112,74)
#477E5C
(71,126,92)
#5B8C6E
(91,140,110)
#6F9A80
(111,154,128)
#83A892
(131,168,146)
#97B6A4
(151,182,164)
#ABC4B6
(171,196,182)
#BFD2C8
(191,210,200)
#D3E0DA
(211,224,218)
#E7EEEC
(231,238,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1F6238 color. Also use rgb(31,98,56) instead hex code.

Text Font Color

.myTextColor { color: #1F6238; }

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

This text font color is #1F6238.

Background Color

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

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

This div background color is #1F6238.

Border color

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

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

This div border color is #1F6238.

Opacity

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

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

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

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

This text has shadow with #1F6238 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #1F6238.

Preview

Color preview on black background

This text has color #1F6238 on black background.


Color preview on white background

This text has color #1F6238 on white background.


Black color preview on #1F6238 background

This text has black color on #1F6238 background.


White color preview on #1F6238 background

This text has white color on #1F6238 background.


Related colors

Complementary color

Complementary color for #hex is #E09DC7.


I love getcolorcode.com

Triadic colors

1 #381F62 and #62381F with #1F6238 are triadic colors.

2 #38621F and #621F38 with #1F6238 are triadic colors.