COLOR #338B1E

HEX: #338B1E
RGB: (51,139,30)

Color info

#338B1E contains mainly green color. Web safe color of #338B1E is #339933 (or #393).

RGB color model

#338B1E color RGB value is (51,139,30).

  • red value is 51;
  • green value is 139;
  • blue value is 30.
RGB:
(51,139,30)
(20%,55%,12%)

RGB channels and saturation

R 51 of 255 = 20%
G 139 of 255 = 55%
B 30 of 255 = 12%

51
139
30

R + G + B ~ 29%. #338B1E is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 139 + 30 = 220 (100%)
R 51 of 220 ~ 23.18%
G 139 of 220 ~ 63.18%
B 30 of 220 ~ 13.64%

%23.18
%63.18
%13.64

CMYK color model

#338B1E color CMYK value is (63,0,78,45).

  • cyan value is 63.31%
  • magenta value is 0.00%
  • yellow value is 78.42%
  • key color value is 45.49%
CMYK:
(63,0,78,45)
C63M0Y78K45 
(63%,0%,78%,45%)
(0.63/0.00/0.78/0.45)	

CMYK percentages

%63.31
%0
%78.42
%45.49

Codes

Color #338B1E in popluar color models

338B1E
RGB5113930
HSL108°64.50%33.14%
HSB/HSV108°78.42%54.51%
CMYK63.31%0.00%78.42%
45.49%

Color #338B1E in popluar number systems.

HEX338B1E
Decimal5113930
Binary1100111000101111110
Octal6321336

Shades and tints

Shades of #338B1E

#338B1E
(51,139,30)
#2F7F1C
(47,127,28)
#2B731A
(43,115,26)
#276718
(39,103,24)
#235B16
(35,91,22)
#1F4F14
(31,79,20)
#1B4312
(27,67,18)
#173710
(23,55,16)
#132B0E
(19,43,14)
#0F1F0C
(15,31,12)
#0B130A
(11,19,10)
#000000
(0,0,0)

Tints of #338B1E

#338B1E
(51,139,30)
#459532
(69,149,50)
#579F46
(87,159,70)
#69A95A
(105,169,90)
#7BB36E
(123,179,110)
#8DBD82
(141,189,130)
#9FC796
(159,199,150)
#B1D1AA
(177,209,170)
#C3DBBE
(195,219,190)
#D5E5D2
(213,229,210)
#E7EFE6
(231,239,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338B1E color. Also use rgb(51,139,30) instead hex code.

Text Font Color

.myTextColor { color: #338B1E; }

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

This text font color is #338B1E.


Background Color

.myBgColor { background-color: #338B1E; }

<div style="background-color:#338B1E">Inner text</div>

This div background color is #338B1E.


Border color

.myBorderColor { border: 1px solid #338B1E; }

<div style="border:3px solid #338B1E">Div</div>

This div border color is #338B1E.


Opacity

.myOpacity80 { color: #338B1E; opacity: 0.8; }

<p style="color:#338B1E;opacity:0.8;">80%</p>

Text with #338B1E 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 #338B1E;}

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

This text has shadow with #338B1E color.

.textShadow {text-shadow: 3px 3px 1px #338B1E, 3px 3px 1px red;}

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

This text has shadow with #338B1E primary color and red secondary color.


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

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

This text has shadow with #338B1E and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #338B1E on black background.


Color preview on white background

This text has color #338B1E on white background.



Black color preview on #338B1E background

This text has black color on #338B1E background.


White color preview on #338B1E background

This text has white color on #338B1E background.