COLOR #398E2A

HEX: #398E2A
RGB: (57,142,42)

Color info

#398E2A contains mainly green color. Web safe color of #398E2A is #339933 (or #393).

RGB color model

#398E2A color RGB value is (57,142,42).

  • red value is 57;
  • green value is 142;
  • blue value is 42.
RGB:
(57,142,42)
(22%,56%,16%)

RGB channels and saturation

R 57 of 255 = 22%
G 142 of 255 = 56%
B 42 of 255 = 16%

57
142
42

R + G + B ~ 31%. #398E2A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
57 + 142 + 42 = 241 (100%)
R 57 of 241 ~ 23.65%
G 142 of 241 ~ 58.92%
B 42 of 241 ~ 17.43%

%23.65
%58.92
%17.43

CMYK color model

#398E2A color CMYK value is (60,0,70,44).

  • cyan value is 59.86%
  • magenta value is 0.00%
  • yellow value is 70.42%
  • key color value is 44.31%
CMYK:
(60,0,70,44)
C60M0Y70K44 
(60%,0%,70%,44%)
(0.60/0.00/0.70/0.44)	

CMYK percentages

%59.86
%0
%70.42
%44.31

Codes

Color #398E2A in popluar color models

398E2A
RGB5714242
HSL111°54.35%36.08%
HSB/HSV111°70.42%55.69%
CMYK59.86%0.00%70.42%
44.31%

Color #398E2A in popluar number systems.

HEX398E2A
Decimal5714242
Binary11100110001110101010
Octal7121652

Shades and tints

Shades of #398E2A

#398E2A
(57,142,42)
#348227
(52,130,39)
#2F7624
(47,118,36)
#2A6A21
(42,106,33)
#255E1E
(37,94,30)
#20521B
(32,82,27)
#1B4618
(27,70,24)
#163A15
(22,58,21)
#112E12
(17,46,18)
#0C220F
(12,34,15)
#07160C
(7,22,12)
#000000
(0,0,0)

Tints of #398E2A

#398E2A
(57,142,42)
#4B983D
(75,152,61)
#5DA250
(93,162,80)
#6FAC63
(111,172,99)
#81B676
(129,182,118)
#93C089
(147,192,137)
#A5CA9C
(165,202,156)
#B7D4AF
(183,212,175)
#C9DEC2
(201,222,194)
#DBE8D5
(219,232,213)
#EDF2E8
(237,242,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #398E2A color. Also use rgb(57,142,42) instead hex code.

Text Font Color

.myTextColor { color: #398E2A; }

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

This text font color is #398E2A.


Background Color

.myBgColor { background-color: #398E2A; }

<div style="background-color:#398E2A">Inner text</div>

This div background color is #398E2A.


Border color

.myBorderColor { border: 1px solid #398E2A; }

<div style="border:3px solid #398E2A">Div</div>

This div border color is #398E2A.


Opacity

.myOpacity80 { color: #398E2A; opacity: 0.8; }

<p style="color:#398E2A;opacity:0.8;">80%</p>

Text with #398E2A 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 #398E2A;}

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

This text has shadow with #398E2A color.

.textShadow {text-shadow: 3px 3px 1px #398E2A, 3px 3px 1px red;}

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

This text has shadow with #398E2A primary color and red secondary color.


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

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

This text has shadow with #398E2A and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #398E2A on black background.


Color preview on white background

This text has color #398E2A on white background.



Black color preview on #398E2A background

This text has black color on #398E2A background.


White color preview on #398E2A background

This text has white color on #398E2A background.