COLOR #315238

HEX: #315238 RGB: (49,82,56)

Color info

#315238 contains red, green and blue colors in about the same proportion. Web safe color of #315238 is #336633 (or #363).

RGB color model

#315238 color RGB value is (49,82,56).

RGB: (49,82,56) (19%, 32%, 22%)

RGB channels and saturation

R 49 of 255 = 19%
G 82 of 255 = 32%
B 56 of 255 = 22%

49
82
56

R + G + B ~ 24%. #315238 is dark color.

Portions of RGB colors in percentages

R + G + B = 49 + 82 + 56 = 187 (100%)
R 49 of 187 ~ 26.2%
G 82 of 187 ~ 43.85%
B 56 of 187 ~ 29.95'%

%26.2
%43.85
%29.95

CMYK color model

#315238 color CMYK value is (40,0,32,68).

  • cyan value is 40.24%
  • magenta value is 0.00%
  • yellow value is 31.71%
  • key color value is 67.84%

CMYK: (40,0,32,68)
C40M0Y32K68 (40%, 0%, 32%, 68%)
(0.40 / 0.00 / 0.32 / 0.68)

CMYK percentages

%40.24
%0
%31.71
%67.84

Codes

Color #315238 in popluar color models

31 52 38
RGB 49 82 56
HSL 133° 25.19% 25.69%
HSB/HSV 133° 40.24% 32.16%
CMYK 40.24% 0.00% 31.71%
67.84%

Color #315238 in popluar number systems.

HEX 31 52 38
Decimal 49 82 56
Binary 110001 1010010 111000
Octal 61 122 70

Shades and tints

Shades of #315238

#315238
(49,82,56)
#2D4B33
(45,75,51)
#29442E
(41,68,46)
#253D29
(37,61,41)
#213624
(33,54,36)
#1D2F1F
(29,47,31)
#19281A
(25,40,26)
#152115
(21,33,21)
#111A10
(17,26,16)
#0D130B
(13,19,11)
#090C06
(9,12,6)
#000000
(0,0,0)

Tints of #315238

#315238
(49,82,56)
#43614A
(67,97,74)
#55705C
(85,112,92)
#677F6E
(103,127,110)
#798E80
(121,142,128)
#8B9D92
(139,157,146)
#9DACA4
(157,172,164)
#AFBBB6
(175,187,182)
#C1CAC8
(193,202,200)
#D3D9DA
(211,217,218)
#E5E8EC
(229,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #315238 color. Also use rgb(49,82,56) instead hex code.

Text Font Color

.myTextColor { color: #315238; }

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

This text font color is #315238.

Background Color

.myBgColor { background-color: #315238; }

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

This div background color is #315238.

Border color

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

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

This div border color is #315238.

Opacity

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

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

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

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

This text has shadow with #315238 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #315238.

Preview

Color preview on black background

This text has color #315238 on black background.


Color preview on white background

This text has color #315238 on white background.


Black color preview on #315238 background

This text has black color on #315238 background.


White color preview on #315238 background

This text has white color on #315238 background.


Related colors

Complementary color

Complementary color for #hex is #CEADC7.


I love getcolorcode.com

Triadic colors

1 #383152 and #523831 with #315238 are triadic colors.

2 #385231 and #523138 with #315238 are triadic colors.