Learn
Practice
Reference
Convert colors between #RRGGBB, #RRGGBBAA, rgb(), and rgba() forms with alpha handling and validation.