adds private call to construct rbg color