COLOR #338158

HEX: #338158 RGB: (51,129,88)

Color info

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

RGB color model

#338158 color RGB value is (51,129,88).

RGB: (51,129,88) (20%, 51%, 35%)

RGB channels and saturation

R 51 of 255 = 20%
G 129 of 255 = 51%
B 88 of 255 = 35%

51
129
88

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

Portions of RGB colors in percentages

R + G + B = 51 + 129 + 88 = 268 (100%)
R 51 of 268 ~ 19.03%
G 129 of 268 ~ 48.13%
B 88 of 268 ~ 32.84'%

%19.03
%48.13
%32.84

CMYK color model

#338158 color CMYK value is (60,0,32,49).

  • cyan value is 60.47%
  • magenta value is 0.00%
  • yellow value is 31.78%
  • key color value is 49.41%

CMYK: (60,0,32,49)
C60M0Y32K49 (60%, 0%, 32%, 49%)
(0.60 / 0.00 / 0.32 / 0.49)

CMYK percentages

%60.47
%0
%31.78
%49.41

Codes

Color #338158 in popluar color models

33 81 58
RGB 51 129 88
HSL 148° 43.33% 35.29%
HSB/HSV 148° 60.47% 50.59%
CMYK 60.47% 0.00% 31.78%
49.41%

Color #338158 in popluar number systems.

HEX 33 81 58
Decimal 51 129 88
Binary 110011 10000001 1011000
Octal 63 201 130

Shades and tints

Shades of #338158

#338158
(51,129,88)
#2F7650
(47,118,80)
#2B6B48
(43,107,72)
#276040
(39,96,64)
#235538
(35,85,56)
#1F4A30
(31,74,48)
#1B3F28
(27,63,40)
#173420
(23,52,32)
#132918
(19,41,24)
#0F1E10
(15,30,16)
#0B1308
(11,19,8)
#000000
(0,0,0)

Tints of #338158

#338158
(51,129,88)
#458C67
(69,140,103)
#579776
(87,151,118)
#69A285
(105,162,133)
#7BAD94
(123,173,148)
#8DB8A3
(141,184,163)
#9FC3B2
(159,195,178)
#B1CEC1
(177,206,193)
#C3D9D0
(195,217,208)
#D5E4DF
(213,228,223)
#E7EFEE
(231,239,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338158 color. Also use rgb(51,129,88) instead hex code.

Text Font Color

.myTextColor { color: #338158; }

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

This text font color is #338158.

Background Color

.myBgColor { background-color: #338158; }

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

This div background color is #338158.

Border color

.myBorderColor { border: 1px solid #338158; }

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

This div border color is #338158.

Opacity

.myOpacity80 { color: #338158; opacity: 0.8; }

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

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

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

This text has shadow with #338158 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #338158.

Preview

Color preview on black background

This text has color #338158 on black background.


Color preview on white background

This text has color #338158 on white background.


Black color preview on #338158 background

This text has black color on #338158 background.


White color preview on #338158 background

This text has white color on #338158 background.


Related colors

Complementary color

Complementary color for #hex is #CC7EA7.


I love getcolorcode.com

Triadic colors

1 #583381 and #815833 with #338158 are triadic colors.

2 #588133 and #813358 with #338158 are triadic colors.