COLOR #335142

HEX: #335142 RGB: (51,81,66)

Color info

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

RGB color model

#335142 color RGB value is (51,81,66).

RGB: (51,81,66) (20%, 32%, 26%)

RGB channels and saturation

R 51 of 255 = 20%
G 81 of 255 = 32%
B 66 of 255 = 26%

51
81
66

R + G + B ~ 26%. #335142 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 81 + 66 = 198 (100%)
R 51 of 198 ~ 25.76%
G 81 of 198 ~ 40.91%
B 66 of 198 ~ 33.33'%

%25.76
%40.91
%33.33

CMYK color model

#335142 color CMYK value is (37,0,19,68).

  • cyan value is 37.04%
  • magenta value is 0.00%
  • yellow value is 18.52%
  • key color value is 68.24%

CMYK: (37,0,19,68)
C37M0Y19K68 (37%, 0%, 19%, 68%)
(0.37 / 0.00 / 0.19 / 0.68)

CMYK percentages

%37.04
%0
%18.52
%68.24

Codes

Color #335142 in popluar color models

33 51 42
RGB 51 81 66
HSL 150° 22.73% 25.88%
HSB/HSV 150° 37.04% 31.76%
CMYK 37.04% 0.00% 18.52%
68.24%

Color #335142 in popluar number systems.

HEX 33 51 42
Decimal 51 81 66
Binary 110011 1010001 1000010
Octal 63 121 102

Shades and tints

Shades of #335142

#335142
(51,81,66)
#2F4A3C
(47,74,60)
#2B4336
(43,67,54)
#273C30
(39,60,48)
#23352A
(35,53,42)
#1F2E24
(31,46,36)
#1B271E
(27,39,30)
#172018
(23,32,24)
#131912
(19,25,18)
#0F120C
(15,18,12)
#0B0B06
(11,11,6)
#000000
(0,0,0)

Tints of #335142

#335142
(51,81,66)
#456053
(69,96,83)
#576F64
(87,111,100)
#697E75
(105,126,117)
#7B8D86
(123,141,134)
#8D9C97
(141,156,151)
#9FABA8
(159,171,168)
#B1BAB9
(177,186,185)
#C3C9CA
(195,201,202)
#D5D8DB
(213,216,219)
#E7E7EC
(231,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #335142 color. Also use rgb(51,81,66) instead hex code.

Text Font Color

.myTextColor { color: #335142; }

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

This text font color is #335142.

Background Color

.myBgColor { background-color: #335142; }

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

This div background color is #335142.

Border color

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

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

This div border color is #335142.

Opacity

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

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

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

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

This text has shadow with #335142 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #335142.

Preview

Color preview on black background

This text has color #335142 on black background.


Color preview on white background

This text has color #335142 on white background.


Black color preview on #335142 background

This text has black color on #335142 background.


White color preview on #335142 background

This text has white color on #335142 background.


Related colors

Complementary color

Complementary color for #hex is #CCAEBD.


I love getcolorcode.com

Triadic colors

1 #423351 and #514233 with #335142 are triadic colors.

2 #425133 and #513342 with #335142 are triadic colors.