COLOR #31742A

HEX: #31742A
RGB: (49,116,42)

Color info

#31742A contains mainly green color. Web safe color of #31742A is #336633 (or #363).

RGB color model

#31742A color RGB value is (49,116,42).

  • red value is 49;
  • green value is 116;
  • blue value is 42.
RGB:
(49,116,42)
(19%,45%,16%)

RGB channels and saturation

R 49 of 255 = 19%
G 116 of 255 = 45%
B 42 of 255 = 16%

49
116
42

R + G + B ~ 27%. #31742A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
49 + 116 + 42 = 207 (100%)
R 49 of 207 ~ 23.67%
G 116 of 207 ~ 56.04%
B 42 of 207 ~ 20.29%

%23.67
%56.04
%20.29

CMYK color model

#31742A color CMYK value is (58,0,64,55).

  • cyan value is 57.76%
  • magenta value is 0.00%
  • yellow value is 63.79%
  • key color value is 54.51%
CMYK:
(58,0,64,55)
C58M0Y64K55 
(58%,0%,64%,55%)
(0.58/0.00/0.64/0.55)	

CMYK percentages

%57.76
%0
%63.79
%54.51

Codes

Color #31742A in popluar color models

31742A
RGB4911642
HSL114°46.84%30.98%
HSB/HSV114°63.79%45.49%
CMYK57.76%0.00%63.79%
54.51%

Color #31742A in popluar number systems.

HEX31742A
Decimal4911642
Binary1100011110100101010
Octal6116452

Shades and tints

Shades of #31742A

#31742A
(49,116,42)
#2D6A27
(45,106,39)
#296024
(41,96,36)
#255621
(37,86,33)
#214C1E
(33,76,30)
#1D421B
(29,66,27)
#193818
(25,56,24)
#152E15
(21,46,21)
#112412
(17,36,18)
#0D1A0F
(13,26,15)
#09100C
(9,16,12)
#000000
(0,0,0)

Tints of #31742A

#31742A
(49,116,42)
#43803D
(67,128,61)
#558C50
(85,140,80)
#679863
(103,152,99)
#79A476
(121,164,118)
#8BB089
(139,176,137)
#9DBC9C
(157,188,156)
#AFC8AF
(175,200,175)
#C1D4C2
(193,212,194)
#D3E0D5
(211,224,213)
#E5ECE8
(229,236,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #31742A color. Also use rgb(49,116,42) instead hex code.

Text Font Color

.myTextColor { color: #31742A; }

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

This text font color is #31742A.


Background Color

.myBgColor { background-color: #31742A; }

<div style="background-color:#31742A">Inner text</div>

This div background color is #31742A.


Border color

.myBorderColor { border: 1px solid #31742A; }

<div style="border:3px solid #31742A">Div</div>

This div border color is #31742A.


Opacity

.myOpacity80 { color: #31742A; opacity: 0.8; }

<p style="color:#31742A;opacity:0.8;">80%</p>

Text with #31742A 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 #31742A;}

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

This text has shadow with #31742A color.

.textShadow {text-shadow: 3px 3px 1px #31742A, 3px 3px 1px red;}

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

This text has shadow with #31742A primary color and red secondary color.


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

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

This text has shadow with #31742A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #31742A on black background.


Color preview on white background

This text has color #31742A on white background.



Black color preview on #31742A background

This text has black color on #31742A background.


White color preview on #31742A background

This text has white color on #31742A background.