š [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!!! šš»