COLOR #338A52

HEX: #338A52 RGB: (51,138,82)

Color info

#338A52 contains mainly green and blue colors. Web safe color of #338A52 is #339966 (or #396).

RGB color model

#338A52 color RGB value is (51,138,82).

RGB: (51,138,82) (20%, 54%, 32%)

RGB channels and saturation

R 51 of 255 = 20%
G 138 of 255 = 54%
B 82 of 255 = 32%

51
138
82

R + G + B ~ 35%. #338A52 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 138 + 82 = 271 (100%)
R 51 of 271 ~ 18.82%
G 138 of 271 ~ 50.92%
B 82 of 271 ~ 30.26'%

%18.82
%50.92
%30.26

CMYK color model

#338A52 color CMYK value is (63,0,41,46).

  • cyan value is 63.04%
  • magenta value is 0.00%
  • yellow value is 40.58%
  • key color value is 45.88%

CMYK: (63,0,41,46)
C63M0Y41K46 (63%, 0%, 41%, 46%)
(0.63 / 0.00 / 0.41 / 0.46)

CMYK percentages

%63.04
%0
%40.58
%45.88

Codes

Color #338A52 in popluar color models

33 8A 52
RGB 51 138 82
HSL 141° 46.03% 37.06%
HSB/HSV 141° 63.04% 54.12%
CMYK 63.04% 0.00% 40.58%
45.88%

Color #338A52 in popluar number systems.

HEX 33 8A 52
Decimal 51 138 82
Binary 110011 10001010 1010010
Octal 63 212 122

Shades and tints

Shades of #338A52

#338A52
(51,138,82)
#2F7E4B
(47,126,75)
#2B7244
(43,114,68)
#27663D
(39,102,61)
#235A36
(35,90,54)
#1F4E2F
(31,78,47)
#1B4228
(27,66,40)
#173621
(23,54,33)
#132A1A
(19,42,26)
#0F1E13
(15,30,19)
#0B120C
(11,18,12)
#000000
(0,0,0)

Tints of #338A52

#338A52
(51,138,82)
#459461
(69,148,97)
#579E70
(87,158,112)
#69A87F
(105,168,127)
#7BB28E
(123,178,142)
#8DBC9D
(141,188,157)
#9FC6AC
(159,198,172)
#B1D0BB
(177,208,187)
#C3DACA
(195,218,202)
#D5E4D9
(213,228,217)
#E7EEE8
(231,238,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338A52 color. Also use rgb(51,138,82) instead hex code.

Text Font Color

.myTextColor { color: #338A52; }

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

This text font color is #338A52.

Background Color

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

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

This div background color is #338A52.

Border color

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

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

This div border color is #338A52.

Opacity

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

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

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

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

This text has shadow with #338A52 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #338A52.

Preview

Color preview on black background

This text has color #338A52 on black background.


Color preview on white background

This text has color #338A52 on white background.


Black color preview on #338A52 background

This text has black color on #338A52 background.


White color preview on #338A52 background

This text has white color on #338A52 background.


Related colors

Complementary color

Complementary color for #hex is #CC75AD.


I love getcolorcode.com

Triadic colors

1 #52338A and #8A5233 with #338A52 are triadic colors.

2 #528A33 and #8A3352 with #338A52 are triadic colors.