Javascript Color Class