COLOR #342B48

HEX: #342B48
RGB: (52,43,72)

Color info

#342B48 contains red, green and blue colors in about the same proportion. Web safe color of #342B48 is #333333 (or #333).

RGB color model

#342B48 color RGB value is (52,43,72).

  • red value is 52;
  • green value is 43;
  • blue value is 72.
RGB:
(52,43,72)
(20%,17%,28%)

RGB channels and saturation

R 52 of 255 = 20%
G 43 of 255 = 17%
B 72 of 255 = 28%

52
43
72

R + G + B ~ 22%. #342B48 is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 43 + 72 = 167 (100%)
R 52 of 167 ~ 31.14%
G 43 of 167 ~ 25.75%
B 72 of 167 ~ 43.11%

%31.14
%25.75
%43.11

CMYK color model

#342B48 color CMYK value is (28,40,0,72).

  • cyan value is 27.78%
  • magenta value is 40.28%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK:
(28,40,0,72)
C28M40Y0K72 
(28%,40%,0%,72%)
(0.28/0.40/0.00/0.72)	

CMYK percentages

%27.78
%40.28
%0
%71.76

Codes

Color #342B48 in popluar color models

342B48
RGB524372
HSL259°25.22%22.55%
HSB/HSV259°40.28%28.24%
CMYK27.78%40.28%0.00%
71.76%

Color #342B48 in popluar number systems.

HEX342B48
Decimal524372
Binary1101001010111001000
Octal6453110

Shades and tints

Shades of #342B48

#342B48
(52,43,72)
#302842
(48,40,66)
#2C253C
(44,37,60)
#282236
(40,34,54)
#241F30
(36,31,48)
#201C2A
(32,28,42)
#1C1924
(28,25,36)
#18161E
(24,22,30)
#141318
(20,19,24)
#101012
(16,16,18)
#0C0D0C
(12,13,12)
#000000
(0,0,0)

Tints of #342B48

#342B48
(52,43,72)
#463E58
(70,62,88)
#585168
(88,81,104)
#6A6478
(106,100,120)
#7C7788
(124,119,136)
#8E8A98
(142,138,152)
#A09DA8
(160,157,168)
#B2B0B8
(178,176,184)
#C4C3C8
(196,195,200)
#D6D6D8
(214,214,216)
#E8E9E8
(232,233,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342B48 color. Also use rgb(52,43,72) instead hex code.

Text Font Color

.myTextColor { color: #342B48; }

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

This text font color is #342B48.


Background Color

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

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

This div background color is #342B48.


Border color

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

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

This div border color is #342B48.


Opacity

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

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

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

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

This text has shadow with #342B48 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #342B48 on black background.


Color preview on white background

This text has color #342B48 on white background.



Black color preview on #342B48 background

This text has black color on #342B48 background.


White color preview on #342B48 background

This text has white color on #342B48 background.