COLOR #42845F

HEX: #42845F RGB: (66,132,95)

Color info

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

RGB color model

#42845F color RGB value is (66,132,95).

RGB: (66,132,95) (26%, 52%, 37%)

RGB channels and saturation

R 66 of 255 = 26%
G 132 of 255 = 52%
B 95 of 255 = 37%

66
132
95

R + G + B ~ 38%. #42845F is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 132 + 95 = 293 (100%)
R 66 of 293 ~ 22.53%
G 132 of 293 ~ 45.05%
B 95 of 293 ~ 32.42'%

%22.53
%45.05
%32.42

CMYK color model

#42845F color CMYK value is (50,0,28,48).

  • cyan value is 50.00%
  • magenta value is 0.00%
  • yellow value is 28.03%
  • key color value is 48.24%

CMYK: (50,0,28,48)
C50M0Y28K48 (50%, 0%, 28%, 48%)
(0.50 / 0.00 / 0.28 / 0.48)

CMYK percentages

%50
%0
%28.03
%48.24

Codes

Color #42845F in popluar color models

42 84 5F
RGB 66 132 95
HSL 146° 33.33% 38.82%
HSB/HSV 146° 50.00% 51.76%
CMYK 50.00% 0.00% 28.03%
48.24%

Color #42845F in popluar number systems.

HEX 42 84 5F
Decimal 66 132 95
Binary 1000010 10000100 1011111
Octal 102 204 137

Shades and tints

Shades of #42845F

#42845F
(66,132,95)
#3C7857
(60,120,87)
#366C4F
(54,108,79)
#306047
(48,96,71)
#2A543F
(42,84,63)
#244837
(36,72,55)
#1E3C2F
(30,60,47)
#183027
(24,48,39)
#12241F
(18,36,31)
#0C1817
(12,24,23)
#060C0F
(6,12,15)
#000000
(0,0,0)

Tints of #42845F

#42845F
(66,132,95)
#538F6D
(83,143,109)
#649A7B
(100,154,123)
#75A589
(117,165,137)
#86B097
(134,176,151)
#97BBA5
(151,187,165)
#A8C6B3
(168,198,179)
#B9D1C1
(185,209,193)
#CADCCF
(202,220,207)
#DBE7DD
(219,231,221)
#ECF2EB
(236,242,235)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42845F color. Also use rgb(66,132,95) instead hex code.

Text Font Color

.myTextColor { color: #42845F; }

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

This text font color is #42845F.

Background Color

.myBgColor { background-color: #42845F; }

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

This div background color is #42845F.

Border color

.myBorderColor { border: 1px solid #42845F; }

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

This div border color is #42845F.

Opacity

.myOpacity80 { color: #42845F; opacity: 0.8; }

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

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

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

This text has shadow with #42845F color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42845F.

Preview

Color preview on black background

This text has color #42845F on black background.


Color preview on white background

This text has color #42845F on white background.


Black color preview on #42845F background

This text has black color on #42845F background.


White color preview on #42845F background

This text has white color on #42845F background.


Related colors

Complementary color

Complementary color for #hex is #BD7BA0.


I love getcolorcode.com

Triadic colors

1 #5F4284 and #845F42 with #42845F are triadic colors.

2 #5F8442 and #84425F with #42845F are triadic colors.