COLOR #421F54

HEX: #421F54
RGB: (66,31,84)

Color info

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

RGB color model

#421F54 color RGB value is (66,31,84).

  • red value is 66;
  • green value is 31;
  • blue value is 84.
RGB:
(66,31,84)
(26%,12%,33%)

RGB channels and saturation

R 66 of 255 = 26%
G 31 of 255 = 12%
B 84 of 255 = 33%

66
31
84

R + G + B ~ 24%. #421F54 is dark color.

Portions of RGB colors in percentages

R + G + B =
66 + 31 + 84 = 181 (100%)
R 66 of 181 ~ 36.46%
G 31 of 181 ~ 17.13%
B 84 of 181 ~ 46.41%

%36.46
%17.13
%46.41

CMYK color model

#421F54 color CMYK value is (21,63,0,67).

  • cyan value is 21.43%
  • magenta value is 63.10%
  • yellow value is 0.00%
  • key color value is 67.06%
CMYK:
(21,63,0,67)
C21M63Y0K67 
(21%,63%,0%,67%)
(0.21/0.63/0.00/0.67)	

CMYK percentages

%21.43
%63.1
%0
%67.06

Codes

Color #421F54 in popluar color models

421F54
RGB663184
HSL280°46.09%22.55%
HSB/HSV280°63.10%32.94%
CMYK21.43%63.10%0.00%
67.06%

Color #421F54 in popluar number systems.

HEX421F54
Decimal663184
Binary1000010111111010100
Octal10237124

Shades and tints

Shades of #421F54

#421F54
(66,31,84)
#3C1D4D
(60,29,77)
#361B46
(54,27,70)
#30193F
(48,25,63)
#2A1738
(42,23,56)
#241531
(36,21,49)
#1E132A
(30,19,42)
#181123
(24,17,35)
#120F1C
(18,15,28)
#0C0D15
(12,13,21)
#060B0E
(6,11,14)
#000000
(0,0,0)

Tints of #421F54

#421F54
(66,31,84)
#533363
(83,51,99)
#644772
(100,71,114)
#755B81
(117,91,129)
#866F90
(134,111,144)
#97839F
(151,131,159)
#A897AE
(168,151,174)
#B9ABBD
(185,171,189)
#CABFCC
(202,191,204)
#DBD3DB
(219,211,219)
#ECE7EA
(236,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #421F54 color. Also use rgb(66,31,84) instead hex code.

Text Font Color

.myTextColor { color: #421F54; }

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

This text font color is #421F54.


Background Color

.myBgColor { background-color: #421F54; }

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

This div background color is #421F54.


Border color

.myBorderColor { border: 1px solid #421F54; }

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

This div border color is #421F54.


Opacity

.myOpacity80 { color: #421F54; opacity: 0.8; }

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

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

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

This text has shadow with #421F54 color.

.textShadow {text-shadow: 3px 3px 1px #421F54, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #421F54 on black background.


Color preview on white background

This text has color #421F54 on white background.



Black color preview on #421F54 background

This text has black color on #421F54 background.


White color preview on #421F54 background

This text has white color on #421F54 background.