new feature for int color values

updated code to add functionality of accepting hex color numbers