consolidated hex and rgb to rgb