How to extract decimal values of red / green / blue tricolor values from-sharpFF3366 in js, and how to directly represent a color with these three values in css3

topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Sep.26,2021

FF-> r-> 15 x 16 ^ 1 + 15 x 16 ^ 0-> 255,
33-> g-> 3 x 16 ^ 1 + 3 x 16 ^ 0-> 51,
66-> b-> 6 x 16 ^ 1 + 6 x 16 ^ 0-> 102

css is represented by rgb (255,51102).


hexadecimal to decimal, for example, ff is 255

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e0a3-34790.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e0a3-34790.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?