It doesn't only take hex codes. You can simply type in 'red' or 'white' if you wanted those colours, however it can be a little vague as to what it can accept. You're better off using a hex code.
Here is a list of hex codes which you might like to use.