COLOR #342548

HEX: #342548 RGB: (52,37,72)

Color info

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

RGB color model

#342548 color RGB value is (52,37,72).

RGB: (52,37,72) (20%, 15%, 28%)

RGB channels and saturation

R 52 of 255 = 20%
G 37 of 255 = 15%
B 72 of 255 = 28%

52
37
72

R + G + B ~ 21%. #342548 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 37 + 72 = 161 (100%)
R 52 of 161 ~ 32.3%
G 37 of 161 ~ 22.98%
B 72 of 161 ~ 44.72'%

%32.3
%22.98
%44.72

CMYK color model

#342548 color CMYK value is (28,49,0,72).

  • cyan value is 27.78%
  • magenta value is 48.61%
  • yellow value is 0.00%
  • key color value is 71.76%
CMYK: (28,49,0,72) C28M49Y0K72 (28%,49%,0%,72%) (0.28/0.49/0.00/0.72) 

CMYK percentages

%27.78
%48.61
%0
%71.76

Codes

Color #342548 in popluar color models

34 25 48
RGB 52 37 72
HSL 266° 32.11% 21.37%
HSB/HSV 266° 48.61% 28.24%
CMYK 27.78% 48.61% 0.00%
71.76%

Color #342548 in popluar number systems.

HEX 34 25 48
Decimal 52 37 72
Binary 110100 100101 1001000
Octal 64 45 110

Shades and tints

Shades of #342548

#342548
(52,37,72)
#302242
(48,34,66)
#2C1F3C
(44,31,60)
#281C36
(40,28,54)
#241930
(36,25,48)
#20162A
(32,22,42)
#1C1324
(28,19,36)
#18101E
(24,16,30)
#140D18
(20,13,24)
#100A12
(16,10,18)
#0C070C
(12,7,12)
#000000
(0,0,0)

Tints of #342548

#342548
(52,37,72)
#463858
(70,56,88)
#584B68
(88,75,104)
#6A5E78
(106,94,120)
#7C7188
(124,113,136)
#8E8498
(142,132,152)
#A097A8
(160,151,168)
#B2AAB8
(178,170,184)
#C4BDC8
(196,189,200)
#D6D0D8
(214,208,216)
#E8E3E8
(232,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #342548; }

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

This text font color is #342548.

Background Color

.myBgColor { background-color: #342548; }

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

This div background color is #342548.

Border color

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

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

This div border color is #342548.

Opacity

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

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

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

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

This text has shadow with #342548 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342548.

Preview

Color preview on black background

This text has color #342548 on black background.


Color preview on white background

This text has color #342548 on white background.


Black color preview on #342548 background

This text has black color on #342548 background.


White color preview on #342548 background

This text has white color on #342548 background.


Related colors

Complementary color

Complementary color for #hex is #CBDAB7.


I love getcolorcode.com

Triadic colors

1 #483425 and #254834 with #342548 are triadic colors.

2 #482534 and #253448 with #342548 are triadic colors.