inherit from rgb