In Color Picker dialog, you can set the RGB color by Hexadecimal values. in this way, three pairs of digits define the color which are from 00 (lowest value) to FF (highest value). For instance 000000 is black or ffffff is white and ff0000 is red. In Adobe Photoshop color picker you can enter hexadecimal digits in # field. also this field shows the hexadecimal value of the selected color. Hexadecimal codes always start with # in HTML and CSS coding or in some software such as Adobe Dream weaver. But in Adobe Photoshop there is no need to type # and it has already written for you.
Hexadecimal has its own color wheel that is similar to RGB standard color wheel. You can see primary, secondary and tritiary colors on it. Hexadecimal digits of colors also defined.
click on the image below to enlarge it.
 Hexadecimal Color Rules
There are 4 important rules to remember about hexadecimal color:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f (from lowest to highest).
2 In decimal numbers, two digit can give you 100 possibilities from 0 to 99. In hexadecimal, you can get 256 possibilities by sixteen digits. So it is very convenient for calculating.
3 In hexadecimal, first two digits define red color, second pair is green and last pair is blue. each pair can have 256 possibilities. 256 x 256 x 256 = 16.8 million.
4 Hexadecimal is base 16 and the numbers start from zero through to the letter F (0123456789ABCDEF). the decimal value for '1' is represented in hexadecimal as '1' but the decimal value of '15' is shown as 'F' in hexadecimal and the value of '17' in decimal is '11' in hexadecimal.
In the following table you can see decimal, hexadecimal and binary codes.
Binary

Decimal

Hex

Binary

Decimal

Hex

Binary

Decimal

Hex

0000

0

0

1010

10

A

00010100

20

14

0001

1

1

1011

11

B

00011110

30

1E

0010

2

2

1100

12

C

00101000

40

28

0011

3

3

1101

13

D

00110010

50

32

0100

4

4

1110

14

E

00111100

60

3C

0101

5

5

1111

15

F

01000110

70

46

0110

6

6

00010000

16

10

01010000

80

50

0111

7

7

00010001

17

11

01011010

90

5A

1000

8

8

00010010

18

12

10000000

128

80

1001

9

9

00010011

19

13

11111111

255

FF

No comments :
Post a Comment