refactored to handle for any color base
added spectrum bar