Specify color by RGB or hex code

Is there a way I can set the color using hex or RGB codes in the app?