NOTE: currently an alpha argument would be passed on to scales::col_numeric which describes the argument as
Whether alpha channels should be respected or ignored. If TRUE then colors without explicit alpha information will be treated as fully opaque.
It would also be possible to pass an alpha argument to gt::data_color which describes the argument as
An optional, fixed alpha transparency value that will be applied to all of the colors provided (regardless of whether a color palette was directly supplied or generated through a color mapping function).
I think you need to decide what your alpha should do.
NOTE: currently an
alpha
argument would be passed on toscales::col_numeric
which describes the argument asIt would also be possible to pass an alpha argument to
gt::data_color
which describes the argument asI think you need to decide what your
alpha
should do.