I'm a comp sci student and have been given an assignment to create a c# console app which takes a hexadecimal value from the user and outputs the equivalent RGB value.
I'm very new to programming and so I've been struggling.
I've been trying to do it for hours and have got absolutely nowhere.
I've tried taking the hex value as a string from the user, then converting that string to an array of characters and replacing the letters with the appropriate numbers e.g. a would be 10, b to 11 etc. but kept receiving endless errors.
Can someone please point me in the right direction?
Thanks