COLOR #335158

HEX: #335158 RGB: (51,81,88)

Color info

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

RGB color model

#335158 color RGB value is (51,81,88).

RGB: (51,81,88) (20%, 32%, 35%)

RGB channels and saturation

R 51 of 255 = 20%
G 81 of 255 = 32%
B 88 of 255 = 35%

51
81
88

R + G + B ~ 29%. #335158 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 81 + 88 = 220 (100%)
R 51 of 220 ~ 23.18%
G 81 of 220 ~ 36.82%
B 88 of 220 ~ 40'%

%23.18
%36.82
%40

CMYK color model

#335158 color CMYK value is (42,8,0,65).

  • cyan value is 42.05%
  • magenta value is 7.95%
  • yellow value is 0.00%
  • key color value is 65.49%

CMYK: (42,8,0,65)
C42M8Y0K65 (42%, 8%, 0%, 65%)
(0.42 / 0.08 / 0.00 / 0.65)

CMYK percentages

%42.05
%7.95
%0
%65.49

Codes

Color #335158 in popluar color models

33 51 58
RGB 51 81 88
HSL 191° 26.62% 27.25%
HSB/HSV 191° 42.05% 34.51%
CMYK 42.05% 7.95% 0.00%
65.49%

Color #335158 in popluar number systems.

HEX 33 51 58
Decimal 51 81 88
Binary 110011 1010001 1011000
Octal 63 121 130

Shades and tints

Shades of #335158

#335158
(51,81,88)
#2F4A50
(47,74,80)
#2B4348
(43,67,72)
#273C40
(39,60,64)
#233538
(35,53,56)
#1F2E30
(31,46,48)
#1B2728
(27,39,40)
#172020
(23,32,32)
#131918
(19,25,24)
#0F1210
(15,18,16)
#0B0B08
(11,11,8)
#000000
(0,0,0)

Tints of #335158

#335158
(51,81,88)
#456067
(69,96,103)
#576F76
(87,111,118)
#697E85
(105,126,133)
#7B8D94
(123,141,148)
#8D9CA3
(141,156,163)
#9FABB2
(159,171,178)
#B1BAC1
(177,186,193)
#C3C9D0
(195,201,208)
#D5D8DF
(213,216,223)
#E7E7EE
(231,231,238)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #335158; }

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

This text font color is #335158.

Background Color

.myBgColor { background-color: #335158; }

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

This div background color is #335158.

Border color

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

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

This div border color is #335158.

Opacity

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

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

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

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

This text has shadow with #335158 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #335158.

Preview

Color preview on black background

This text has color #335158 on black background.


Color preview on white background

This text has color #335158 on white background.


Black color preview on #335158 background

This text has black color on #335158 background.


White color preview on #335158 background

This text has white color on #335158 background.


Related colors

Complementary color

Complementary color for #hex is #CCAEA7.


I love getcolorcode.com

Triadic colors

1 #583351 and #515833 with #335158 are triadic colors.

2 #585133 and #513358 with #335158 are triadic colors.