COLOR #42137B

HEX: #42137B RGB: (66,19,123)

Color info

#42137B contains mainly red and blue colors. Web safe color of #42137B is #330066 (or #306).

RGB color model

#42137B color RGB value is (66,19,123).

RGB: (66,19,123) (26%, 7%, 48%)

RGB channels and saturation

R 66 of 255 = 26%
G 19 of 255 = 7%
B 123 of 255 = 48%

66
19
123

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

Portions of RGB colors in percentages

R + G + B = 66 + 19 + 123 = 208 (100%)
R 66 of 208 ~ 31.73%
G 19 of 208 ~ 9.13%
B 123 of 208 ~ 59.13'%

%31.73
%59.13

CMYK color model

#42137B color CMYK value is (46,85,0,52).

  • cyan value is 46.34%
  • magenta value is 84.55%
  • yellow value is 0.00%
  • key color value is 51.76%

CMYK: (46,85,0,52)
C46M85Y0K52 (46%, 85%, 0%, 52%)
(0.46 / 0.85 / 0.00 / 0.52)

CMYK percentages

%46.34
%84.55
%0
%51.76

Codes

Color #42137B in popluar color models

42 13 7B
RGB 66 19 123
HSL 267° 73.24% 27.84%
HSB/HSV 267° 84.55% 48.24%
CMYK 46.34% 84.55% 0.00%
51.76%

Color #42137B in popluar number systems.

HEX 42 13 7B
Decimal 66 19 123
Binary 1000010 10011 1111011
Octal 102 23 173

Shades and tints

Shades of #42137B

#42137B
(66,19,123)
#3C1270
(60,18,112)
#361165
(54,17,101)
#30105A
(48,16,90)
#2A0F4F
(42,15,79)
#240E44
(36,14,68)
#1E0D39
(30,13,57)
#180C2E
(24,12,46)
#120B23
(18,11,35)
#0C0A18
(12,10,24)
#06090D
(6,9,13)
#000000
(0,0,0)

Tints of #42137B

#42137B
(66,19,123)
#532887
(83,40,135)
#643D93
(100,61,147)
#75529F
(117,82,159)
#8667AB
(134,103,171)
#977CB7
(151,124,183)
#A891C3
(168,145,195)
#B9A6CF
(185,166,207)
#CABBDB
(202,187,219)
#DBD0E7
(219,208,231)
#ECE5F3
(236,229,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #42137B color. Also use rgb(66,19,123) instead hex code.

Text Font Color

.myTextColor { color: #42137B; }

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

This text font color is #42137B.

Background Color

.myBgColor { background-color: #42137B; }

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

This div background color is #42137B.

Border color

.myBorderColor { border: 1px solid #42137B; }

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

This div border color is #42137B.

Opacity

.myOpacity80 { color: #42137B; opacity: 0.8; }

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

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

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

This text has shadow with #42137B color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #42137B.

Preview

Color preview on black background

This text has color #42137B on black background.


Color preview on white background

This text has color #42137B on white background.


Black color preview on #42137B background

This text has black color on #42137B background.


White color preview on #42137B background

This text has white color on #42137B background.


Related colors

Complementary color

Complementary color for #hex is #BDEC84.


I love getcolorcode.com

Triadic colors

1 #7B4213 and #137B42 with #42137B are triadic colors.

2 #7B1342 and #13427B with #42137B are triadic colors.