๐ [M๐ Challenge] Hex Triplet Colour Shades โค๐๐๐๐
Monday Blue ๐ Challenge Series #5 Let's get colourful this week! If you're familiar with the HTML challenges, there are a few quizzes that require you to identify the shade of colour based on the Hex Triplet (#RRGGBB). ๐ผ TASK Write a program to accept a Hex Triplet (#RRGGBB) and determine whether it represents the colour of the following categories:- "Black" #000000 "White" #FFFFFF "Shade of Grey" Neutral. Equal weightage of all components. "Shade of Red" Red dominant* "Shade of Green" Green dominant* "Shade of Blue" Blue dominant* * pure shades with equal weightage of other components. "Shade of Yellow" Red-Green dominant with relatively higher weightage than Blue. "Shade of Purple" Red-Blue dominant with relatively higher weightage than Green. "Shade of Cyan" Green-Blue dominant with relatively higher weightage than Red. ๐ง TEST CASE #252525 โก "Shade of Grey" #AA3333 โก "Shade of Red" #11BB11 โก "Shade of Green" #CCCCFF โก "Shade of Blue" #FACE00 โก "Shade of Yellow" #BB33AA โก "Shade of Purple" #22DD33 โก "Shade of Cyan" โค BONUS Creative and clear-cut approach is encouraged. ๐ SPECIAL MENTION https://code.sololearn.com/W0vQm8LhnxdQ/?ref=app Happy Coding!!! ๐๐ป