COLOR #398C1F

HEX: #398C1F
RGB: (57,140,31)

Color info

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

RGB color model

#398C1F color RGB value is (57,140,31).

  • red value is 57;
  • green value is 140;
  • blue value is 31.
RGB:
(57,140,31)
(22%,55%,12%)

RGB channels and saturation

R 57 of 255 = 22%
G 140 of 255 = 55%
B 31 of 255 = 12%

57
140
31

R + G + B ~ 30%. #398C1F is quite dark color.

Portions of RGB colors in percentages

R + G + B =
57 + 140 + 31 = 228 (100%)
R 57 of 228 ~ 25%
G 140 of 228 ~ 61.4%
B 31 of 228 ~ 13.6%

%25
%61.4
%13.6

CMYK color model

#398C1F color CMYK value is (59,0,78,45).

  • cyan value is 59.29%
  • magenta value is 0.00%
  • yellow value is 77.86%
  • key color value is 45.10%
CMYK:
(59,0,78,45)
C59M0Y78K45 
(59%,0%,78%,45%)
(0.59/0.00/0.78/0.45)	

CMYK percentages

%59.29
%0
%77.86
%45.1

Codes

Color #398C1F in popluar color models

398C1F
RGB5714031
HSL106°63.74%33.53%
HSB/HSV106°77.86%54.90%
CMYK59.29%0.00%77.86%
45.10%

Color #398C1F in popluar number systems.

HEX398C1F
Decimal5714031
Binary1110011000110011111
Octal7121437

Shades and tints

Shades of #398C1F

#398C1F
(57,140,31)
#34801D
(52,128,29)
#2F741B
(47,116,27)
#2A6819
(42,104,25)
#255C17
(37,92,23)
#205015
(32,80,21)
#1B4413
(27,68,19)
#163811
(22,56,17)
#112C0F
(17,44,15)
#0C200D
(12,32,13)
#07140B
(7,20,11)
#000000
(0,0,0)

Tints of #398C1F

#398C1F
(57,140,31)
#4B9633
(75,150,51)
#5DA047
(93,160,71)
#6FAA5B
(111,170,91)
#81B46F
(129,180,111)
#93BE83
(147,190,131)
#A5C897
(165,200,151)
#B7D2AB
(183,210,171)
#C9DCBF
(201,220,191)
#DBE6D3
(219,230,211)
#EDF0E7
(237,240,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #398C1F color. Also use rgb(57,140,31) instead hex code.

Text Font Color

.myTextColor { color: #398C1F; }

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

This text font color is #398C1F.


Background Color

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

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

This div background color is #398C1F.


Border color

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

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

This div border color is #398C1F.


Opacity

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

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

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

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

This text has shadow with #398C1F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #398C1F on black background.


Color preview on white background

This text has color #398C1F on white background.



Black color preview on #398C1F background

This text has black color on #398C1F background.


White color preview on #398C1F background

This text has white color on #398C1F background.