RGB color code values are based on decimal number system and are defined by integer values from 0 to 255. For example, rgb(255,0,0) represents red color.
Hex color code values are based on hexadecimal number system and are defined in values between 00 and FF. Hex color code start with hash symbol (#) and are followed by six hexadecimal numbers (0-9, A-F). For example, #FF0000 represents red color.
Leave a Comment
Cancel reply