COLOR #42785D

HEX: #42785D RGB: (66,120,93)

Color info

#42785D contains red, green and blue colors in about the same proportion. Web safe color of #42785D is #336666 (or #366).

RGB color model

#42785D color RGB value is (66,120,93).

RGB: (66,120,93) (26%, 47%, 36%)

RGB channels and saturation

R 66 of 255 = 26%
G 120 of 255 = 47%
B 93 of 255 = 36%

66
120
93

R + G + B ~ 36%. #42785D is quite dark color.

Portions of RGB colors in percentages

R + G + B = 66 + 120 + 93 = 279 (100%)
R 66 of 279 ~ 23.66%
G 120 of 279 ~ 43.01%
B 93 of 279 ~ 33.33'%

%23.66
%43.01
%33.33

CMYK color model

#42785D color CMYK value is (45,0,23,53).

  • cyan value is 45.00%
  • magenta value is 0.00%
  • yellow value is 22.50%
  • key color value is 52.94%

CMYK: (45,0,23,53)
C45M0Y23K53 (45%, 0%, 23%, 53%)
(0.45 / 0.00 / 0.23 / 0.53)

CMYK percentages

%45
%0
%22.5
%52.94

Codes

Color #42785D in popluar color models

42 78 5D
RGB 66 120 93
HSL 150° 29.03% 36.47%
HSB/HSV 150° 45.00% 47.06%
CMYK 45.00% 0.00% 22.50%
52.94%

Color #42785D in popluar number systems.

HEX 42 78 5D
Decimal 66 120 93
Binary 1000010 1111000 1011101
Octal 102 170 135

Shades and tints

Shades of #42785D

#42785D
(66,120,93)
#3C6E55
(60,110,85)
#36644D
(54,100,77)
#305A45
(48,90,69)
#2A503D
(42,80,61)
#244635
(36,70,53)
#1E3C2D
(30,60,45)
#183225
(24,50,37)
#12281D
(18,40,29)
#0C1E15
(12,30,21)
#06140D
(6,20,13)
#000000
(0,0,0)

Tints of #42785D

#42785D
(66,120,93)
#53846B
(83,132,107)
#649079
(100,144,121)
#759C87
(117,156,135)
#86A895
(134,168,149)
#97B4A3
(151,180,163)
#A8C0B1
(168,192,177)
#B9CCBF
(185,204,191)
#CAD8CD
(202,216,205)
#DBE4DB
(219,228,219)
#ECF0E9
(236,240,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42785D color. Also use rgb(66,120,93) instead hex code.

Text Font Color

.myTextColor { color: #42785D; }

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

This text font color is #42785D.

Background Color

.myBgColor { background-color: #42785D; }

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

This div background color is #42785D.

Border color

.myBorderColor { border: 1px solid #42785D; }

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

This div border color is #42785D.

Opacity

.myOpacity80 { color: #42785D; opacity: 0.8; }

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

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

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

This text has shadow with #42785D color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42785D.

Preview

Color preview on black background

This text has color #42785D on black background.


Color preview on white background

This text has color #42785D on white background.


Black color preview on #42785D background

This text has black color on #42785D background.


White color preview on #42785D background

This text has white color on #42785D background.


Related colors

Complementary color

Complementary color for #hex is #BD87A2.


I love getcolorcode.com

Triadic colors

1 #5D4278 and #785D42 with #42785D are triadic colors.

2 #5D7842 and #78425D with #42785D are triadic colors.