COLOR #21255C

HEX: #21255C
RGB: (33,37,92)

Color info

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

RGB color model

#21255C color RGB value is (33,37,92).

  • red value is 33;
  • green value is 37;
  • blue value is 92.
RGB:
(33,37,92)
(13%,15%,36%)

RGB channels and saturation

R 33 of 255 = 13%
G 37 of 255 = 15%
B 92 of 255 = 36%

33
37
92

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

Portions of RGB colors in percentages

R + G + B =
33 + 37 + 92 = 162 (100%)
R 33 of 162 ~ 20.37%
G 37 of 162 ~ 22.84%
B 92 of 162 ~ 56.79%

%20.37
%22.84
%56.79

CMYK color model

#21255C color CMYK value is (64,60,0,64).

  • cyan value is 64.13%
  • magenta value is 59.78%
  • yellow value is 0.00%
  • key color value is 63.92%
CMYK:
(64,60,0,64)
C64M60Y0K64 
(64%,60%,0%,64%)
(0.64/0.60/0.00/0.64)	

CMYK percentages

%64.13
%59.78
%0
%63.92

Codes

Color #21255C in popluar color models

21255C
RGB333792
HSL236°47.20%24.51%
HSB/HSV236°64.13%36.08%
CMYK64.13%59.78%0.00%
63.92%

Color #21255C in popluar number systems.

HEX21255C
Decimal333792
Binary1000011001011011100
Octal4145134

Shades and tints

Shades of #21255C

#21255C
(33,37,92)
#1E2254
(30,34,84)
#1B1F4C
(27,31,76)
#181C44
(24,28,68)
#15193C
(21,25,60)
#121634
(18,22,52)
#0F132C
(15,19,44)
#0C1024
(12,16,36)
#090D1C
(9,13,28)
#060A14
(6,10,20)
#03070C
(3,7,12)
#000000
(0,0,0)

Tints of #21255C

#21255C
(33,37,92)
#35386A
(53,56,106)
#494B78
(73,75,120)
#5D5E86
(93,94,134)
#717194
(113,113,148)
#8584A2
(133,132,162)
#9997B0
(153,151,176)
#ADAABE
(173,170,190)
#C1BDCC
(193,189,204)
#D5D0DA
(213,208,218)
#E9E3E8
(233,227,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #21255C color. Also use rgb(33,37,92) instead hex code.

Text Font Color

.myTextColor { color: #21255C; }

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

This text font color is #21255C.


Background Color

.myBgColor { background-color: #21255C; }

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

This div background color is #21255C.


Border color

.myBorderColor { border: 1px solid #21255C; }

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

This div border color is #21255C.


Opacity

.myOpacity80 { color: #21255C; opacity: 0.8; }

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

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

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

This text has shadow with #21255C color.

.textShadow {text-shadow: 3px 3px 1px #21255C, 3px 3px 1px red;}

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #21255C on black background.


Color preview on white background

This text has color #21255C on white background.



Black color preview on #21255C background

This text has black color on #21255C background.


White color preview on #21255C background

This text has white color on #21255C background.