Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions...
Transcript of Converting Colors - Decimal(255) · 20-07-2020 5/29 convertingcolors.com Conversions Conversions...
ConvertingColors
Decimal(255)
Have a look what the booklet forDecimal(255) contains.
Decimal(255) 3 ............................................................ Conversions 4 ....................................................... Details 6 ................................................................ Harmonies 11 ........................................................ Previews 18 ........................................................... Color Blindness Simulation 21 ........................... CSS Examples 24 ..................................................
Color
Decimal(255)
27-09-2020 4/29 convertingcolors.com
Conversions
Conversions Part 1
Format Color
Hex 0000FF
RGB 0, 0, 255
RGB Percent 0%, 0%, 100%
CMY 1.0000, 1.0000, 0.0000
CMYK 1.00, 1.00, 0.00, 0.00
HSL 240°, 100%, 50%
HSV 240°, 100%, 100%
XYZ 18.0500, 7.2200, 95.0500
27-09-2020 5/29 convertingcolors.com
Conversions
Conversions Part 2
Format Color
RYB 0, 0, 255
Decimal 255
CIELab 32.30, 79.20, -107.86
CIELCh 32, 133.816, 306.287
Yxy 7.2200, 0.1500,0.0600
Android(android.graphics.Color)
4278190335(0xFF0000FF)
YUV 29.0700, 111.3835,-25.4944
27-09-2020 6/29 convertingcolors.com
Details
The Decimal color 255 is a dark color, and thewebsafe version is hex 0000FF, and the colorname is blue. The color can be described as darksaturated blue. A complement of this color wouldbe 16776960, and the grayscale version is1842204.
A 20% lighter version of the original color is7948287, and 196 is the 20% darker color. If yousaturate the color by 10%, you get 255, and ifyou desaturate by 10%, it is 1645055.
27-09-2020 7/29 convertingcolors.com
Distribution
RGB
Red (0%)
Green (0%)
Blue (100%)
RYB
Red (0%)
Yellow (0%)
Blue (100%)
CMYK
Cyan (100%)
Magenta (100%)
Yellow (0%)
Black (0%)
CMY
Cyan (100%)
Magenta (100%)
Yellow (0%)
27-09-2020 8/29 convertingcolors.com
Brightness & SaturationGradients
These gradients show how the Decimal color 255changes by changing the brightness by 10 percent. Thefirst figure shows a shift by +10% for each color and thesecond figure -10%.
Similar to the brightness gradients but the followingsaturation gradients show a change of the Decimalcolor 255 by changing the saturation by 10% instead.
27-09-2020 9/29 convertingcolors.com
255
5253887
7948287
10314751
12550143
14785279
16758783
16765951
16773631
16777215
255
225
196
168
140
4721
3160
1855
808
274
255
1645055
3355647
5066239
6711039
8421631
27-09-2020 10/29 convertingcolors.com
10066431
11777023
13421823
15132415
27-09-2020 11/29 convertingcolors.com
Harmonies
AnalogousThe analogous color harmony consists of three colorsthat are next to each other on the color wheel.
24319
255
13369508
27-09-2020 12/29 convertingcolors.com
TriadThe triadic color harmony groups three colors that areevenly spaced from another and form a triangle on thecolor wheel.
255
10226176
26721
27-09-2020 13/29 convertingcolors.com
ComplementaryThe complementary color scheme is a pair of colorswhich are on the opposite of each other on the colorwheel.
255
16776960
27-09-2020 14/29 convertingcolors.com
Split ComplementarySplit-complementary colors differ from thecomplementary color scheme. The scheme consists ofthree colors, the original color and two neighbors of thecomplement color.
26112
255
4870400
27-09-2020 15/29 convertingcolors.com
SquareThe square scheme is like the rectangle color scheme,but the four colors are evenly spaced on the colorwheel.
255
13959168
24832
28108
27-09-2020 16/29 convertingcolors.com
RectangleThe rectangle color scheme consists of four colors thatform a rectangle on the color wheel.
255
15335519
24832
26428
27-09-2020 17/29 convertingcolors.com
SweetspotThe sweet spot groups the original color and fivecomplimentary colors.
255
11777023
65535
5395072
0
8421504
27-09-2020 18/29 convertingcolors.com
Previews
White Background
This preview shows how the Decimal color 255 looks ona white background.
Color Contrast Check
Large Text (above 18pt) WCAG AA ✓ PassAny Text WCAG AA ✓ PassLarge Text (above 18pt) WCAG AAA ✓ PassAny Text WCAG AAA ✓ Pass
27-09-2020 19/29 convertingcolors.com
Black Background
This preview shows how the Decimal color 255 looks ona black background.
Color Contrast Check
Large Text (above 18pt) WCAG AA ✕ FailAny Text WCAG AA ✕ FailLarge Text (above 18pt) WCAG AAA ✕ FailAny Text WCAG AAA ✕ Fail
If you want to check with other color combinations, trythe Color Contrast Checker.
27-09-2020 20/29 convertingcolors.com
Decimal 255 Background
This preview shows how black text looks on abackground with the Decimal color 255.
This preview shows how white text looks on abackground with the Decimal color 255.
27-09-2020 21/29 convertingcolors.com
Color BlindnessSimulation
Color vision deficiency is a very complex topic, and Icould not describe the different causes any better thanWikipedia does, so if you want to learn more, youshould check out their article about color blindness.
Dichromacy
Original Color255
Protanopia19100
Deuteranopia20612
27-09-2020 22/29 convertingcolors.com
Tritanopia22105
27-09-2020 23/29 convertingcolors.com
Trichromacy
Original Color255
Protanomaly12224
Deuteranomaly13233
Tritanomaly14229
Monochromacy
Original Color255
Achromatopsia1907997
Achromatomaly1184367
27-09-2020 24/29 convertingcolors.com
CSS Examples
Text
The CSS property to change the color of the text toDecimal 255 is called "color". The color property can beset on classes, ids or directly on the HTML element.
This example shows how text in the color #0000FFlooks like.
.text, #text, p{ color:#0000FF}
27-09-2020 25/29 convertingcolors.com
If you want to add a text shadow in that color use thetext-shadow property, you can generate a text shadowdirectly with our CSS Text Shadow Generator.
Here you see how black text with a 4 pixel #0000FFHere you see how black text with a 4 pixel #0000FF
colored shadow looks like.colored shadow looks like.
.shadow{ text-shadow: 4px 4px 2px #0000FF}
Border
The CSS property to change the border of an element toDecimal 255 is called "border". The border property canbe set on classes, ids or directly on the HTML element.
This example shows the color as border, it can beapplied via the CSS property "border" or "border-color".
.border, #border, table{ border:4px solid#0000FF }
27-09-2020 26/29 convertingcolors.com
If only the border color should be changed use theproperty border-color.
.border{ border-color:#0000FF }
If you want to add a box shadow in that color use:
Here you see how a box with a 4 pixel #0000FFcolored shadow looks like.
.boxshadow{ -moz-box-shadow:4px 4px 4px4px #0000FF; -webkit-box-shadow:4px 4px4px 4px #0000FF; box-shadow:4px 4px 4px4px #0000FF }
27-09-2020 27/29 convertingcolors.com
Background
The CSS property to change the background color of anelement to Decimal 255 is called "background". Thebackground property can be set on classes, ids ordirectly on the HTML element.
.background, #background, body{background:#0000FF }
If only the background color should be changed can beused:
.background{ background-color:#0000FF }
This example shows the color as background, it isapplied via the CSS property "background".
To optimize and compress your CSS code, you can useour online CSS compressor and optimizer based oncsstidy. If you want to create a linear or radial gradientas background or border, check our CSS GradientGenerator.
Hey! You found this bookletinteresting? Have a look at my otherbooklet HOWCOLORS.WORK – A CSScolor notation guide.
HOWCOLORS.WORKA CSS color notation guide.Are you new to web developmentand want to know the differentways to express colors in CSS?Then this booklet is for you!
HOWCOLORS.WORK will helpyou understand the syntax ofthe color notations in CSS.You will learn all the current andnew ways to express colors toprepare yourself for the future!
Buy now, starting at $4.99!
Follow meon Twitter!
@ConvertingColor