generating color components instead of colors
changed color method code
removed old generated code
merged with parsing