COLOR #334852

HEX: #334852 RGB: (51,72,82)

Color info

#334852 contains red, green and blue colors in about the same proportion. Web safe color of #334852 is #333366 (or #336).

RGB color model

#334852 color RGB value is (51,72,82).

RGB: (51,72,82) (20%, 28%, 32%)

RGB channels and saturation

R 51 of 255 = 20%
G 72 of 255 = 28%
B 82 of 255 = 32%

51
72
82

R + G + B ~ 27%. #334852 is quite dark color.

Portions of RGB colors in percentages

R + G + B = 51 + 72 + 82 = 205 (100%)
R 51 of 205 ~ 24.88%
G 72 of 205 ~ 35.12%
B 82 of 205 ~ 40'%

%24.88
%35.12
%40

CMYK color model

#334852 color CMYK value is (38,12,0,68).

  • cyan value is 37.80%
  • magenta value is 12.20%
  • yellow value is 0.00%
  • key color value is 67.84%

CMYK: (38,12,0,68)
C38M12Y0K68 (38%, 12%, 0%, 68%)
(0.38 / 0.12 / 0.00 / 0.68)

CMYK percentages

%37.8
%12.2
%0
%67.84

Codes

Color #334852 in popluar color models

33 48 52
RGB 51 72 82
HSL 199° 23.31% 26.08%
HSB/HSV 199° 37.80% 32.16%
CMYK 37.80% 12.20% 0.00%
67.84%

Color #334852 in popluar number systems.

HEX 33 48 52
Decimal 51 72 82
Binary 110011 1001000 1010010
Octal 63 110 122

Shades and tints

Shades of #334852

#334852
(51,72,82)
#2F424B
(47,66,75)
#2B3C44
(43,60,68)
#27363D
(39,54,61)
#233036
(35,48,54)
#1F2A2F
(31,42,47)
#1B2428
(27,36,40)
#171E21
(23,30,33)
#13181A
(19,24,26)
#0F1213
(15,18,19)
#0B0C0C
(11,12,12)
#000000
(0,0,0)

Tints of #334852

#334852
(51,72,82)
#455861
(69,88,97)
#576870
(87,104,112)
#69787F
(105,120,127)
#7B888E
(123,136,142)
#8D989D
(141,152,157)
#9FA8AC
(159,168,172)
#B1B8BB
(177,184,187)
#C3C8CA
(195,200,202)
#D5D8D9
(213,216,217)
#E7E8E8
(231,232,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #334852 color. Also use rgb(51,72,82) instead hex code.

Text Font Color

.myTextColor { color: #334852; }

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

This text font color is #334852.

Background Color

.myBgColor { background-color: #334852; }

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

This div background color is #334852.

Border color

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

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

This div border color is #334852.

Opacity

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

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

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

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

This text has shadow with #334852 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #334852.

Preview

Color preview on black background

This text has color #334852 on black background.


Color preview on white background

This text has color #334852 on white background.


Black color preview on #334852 background

This text has black color on #334852 background.


White color preview on #334852 background

This text has white color on #334852 background.


Related colors

Complementary color

Complementary color for #hex is #CCB7AD.


I love getcolorcode.com

Triadic colors

1 #523348 and #485233 with #334852 are triadic colors.

2 #524833 and #483352 with #334852 are triadic colors.