COLOR #B040F2

HEX: #B040F2 RGB: (176,64,242)

Color info

#B040F2 contains mainly blue color. Web safe color of #B040F2 is #9933FF (or #93F).

RGB color model

#B040F2 color RGB value is (176,64,242).

RGB: (176,64,242) (69%, 25%, 95%)

RGB channels and saturation

R 176 of 255 = 69%
G 64 of 255 = 25%
B 242 of 255 = 95%

176
64
242

R + G + B ~ 63%. #B040F2 is quite light color.

Portions of RGB colors in percentages

R + G + B = 176 + 64 + 242 = 482 (100%)
R 176 of 482 ~ 36.51%
G 64 of 482 ~ 13.28%
B 242 of 482 ~ 50.21'%

%36.51
%13.28
%50.21

CMYK color model

#B040F2 color CMYK value is (27,74,0,5).

  • cyan value is 27.27%
  • magenta value is 73.55%
  • yellow value is 0.00%
  • key color value is 5.10%

CMYK: (27,74,0,5)
C27M74Y0K5 (27%, 74%, 0%, 5%)
(0.27 / 0.74 / 0.00 / 0.05)

CMYK percentages

%27.27
%73.55
%0
%5.1

Codes

Color #B040F2 in popluar color models

B0 40 F2
RGB 176 64 242
HSL 278° 87.25% 60.00%
HSB/HSV 278° 73.55% 94.90%
CMYK 27.27% 73.55% 0.00%
5.10%

Color #B040F2 in popluar number systems.

HEX B0 40 F2
Decimal 176 64 242
Binary 10110000 1000000 11110010
Octal 260 100 362

Shades and tints

Shades of #B040F2

#B040F2
(176,64,242)
#A03BDC
(160,59,220)
#9036C6
(144,54,198)
#8031B0
(128,49,176)
#702C9A
(112,44,154)
#602784
(96,39,132)
#50226E
(80,34,110)
#401D58
(64,29,88)
#301842
(48,24,66)
#20132C
(32,19,44)
#100E16
(16,14,22)
#000000
(0,0,0)

Tints of #B040F2

#B040F2
(176,64,242)
#B751F3
(183,81,243)
#BE62F4
(190,98,244)
#C573F5
(197,115,245)
#CC84F6
(204,132,246)
#D395F7
(211,149,247)
#DAA6F8
(218,166,248)
#E1B7F9
(225,183,249)
#E8C8FA
(232,200,250)
#EFD9FB
(239,217,251)
#F6EAFC
(246,234,252)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B040F2 color. Also use rgb(176,64,242) instead hex code.

Text Font Color

.myTextColor { color: #B040F2; }

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

This text font color is #B040F2.

Background Color

.myBgColor { background-color: #B040F2; }

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

This div background color is #B040F2.

Border color

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

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

This div border color is #B040F2.

Opacity

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

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

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

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

This text has shadow with #B040F2 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #B040F2.

Preview

Color preview on black background

This text has color #B040F2 on black background.


Color preview on white background

This text has color #B040F2 on white background.


Black color preview on #B040F2 background

This text has black color on #B040F2 background.


White color preview on #B040F2 background

This text has white color on #B040F2 background.


Related colors

Complementary color

Complementary color for #hex is #4FBF0D.


I love getcolorcode.com

Triadic colors

1 #F2B040 and #40F2B0 with #B040F2 are triadic colors.

2 #F240B0 and #40B0F2 with #B040F2 are triadic colors.