COLOR #342F51

HEX: #342F51
RGB: (52,47,81)

Color info

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

RGB color model

#342F51 color RGB value is (52,47,81).

  • red value is 52;
  • green value is 47;
  • blue value is 81.
RGB:
(52,47,81)
(20%,18%,32%)

RGB channels and saturation

R 52 of 255 = 20%
G 47 of 255 = 18%
B 81 of 255 = 32%

52
47
81

R + G + B ~ 23%. #342F51 is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 47 + 81 = 180 (100%)
R 52 of 180 ~ 28.89%
G 47 of 180 ~ 26.11%
B 81 of 180 ~ 45%

%28.89
%26.11
%45

CMYK color model

#342F51 color CMYK value is (36,42,0,68).

  • cyan value is 35.80%
  • magenta value is 41.98%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(36,42,0,68)
C36M42Y0K68 
(36%,42%,0%,68%)
(0.36/0.42/0.00/0.68)	

CMYK percentages

%35.8
%41.98
%0
%68.24

Codes

Color #342F51 in popluar color models

342F51
RGB524781
HSL249°26.56%25.10%
HSB/HSV249°41.98%31.76%
CMYK35.80%41.98%0.00%
68.24%

Color #342F51 in popluar number systems.

HEX342F51
Decimal524781
Binary1101001011111010001
Octal6457121

Shades and tints

Shades of #342F51

#342F51
(52,47,81)
#302B4A
(48,43,74)
#2C2743
(44,39,67)
#28233C
(40,35,60)
#241F35
(36,31,53)
#201B2E
(32,27,46)
#1C1727
(28,23,39)
#181320
(24,19,32)
#140F19
(20,15,25)
#100B12
(16,11,18)
#0C070B
(12,7,11)
#000000
(0,0,0)

Tints of #342F51

#342F51
(52,47,81)
#464160
(70,65,96)
#58536F
(88,83,111)
#6A657E
(106,101,126)
#7C778D
(124,119,141)
#8E899C
(142,137,156)
#A09BAB
(160,155,171)
#B2ADBA
(178,173,186)
#C4BFC9
(196,191,201)
#D6D1D8
(214,209,216)
#E8E3E7
(232,227,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342F51 color. Also use rgb(52,47,81) instead hex code.

Text Font Color

.myTextColor { color: #342F51; }

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

This text font color is #342F51.


Background Color

.myBgColor { background-color: #342F51; }

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

This div background color is #342F51.


Border color

.myBorderColor { border: 1px solid #342F51; }

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

This div border color is #342F51.


Opacity

.myOpacity80 { color: #342F51; opacity: 0.8; }

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

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

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

This text has shadow with #342F51 color.

.textShadow {text-shadow: 3px 3px 1px #342F51, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #342F51;
-webkit-box-shadow: 1px 1px 3px 2px #342F51;
box-shadow:1px 1px 3px 2px #342F51;">
Div content here</div>
This div box has shadow with color #342F51.

Preview

Color preview on black background

This text has color #342F51 on black background.


Color preview on white background

This text has color #342F51 on white background.



Black color preview on #342F51 background

This text has black color on #342F51 background.


White color preview on #342F51 background

This text has white color on #342F51 background.