powered by
Check for the given color strings whether they have transparency, i.e., an alpha channel value != fully opaque.
colors.have.transparency(col_strings, accept_col_names = TRUE)
logical vector
vector of RGB(A) color strings, like c("#FFFFFF", ("#FF00FF")).
c("#FFFFFF", ("#FF00FF"))
logical, whether to accept color names like 'white'. Disables all sanity checks.
colors.have.transparency(c("#FFFFFF", "#FF00FF", "#FF00FF00", "red", "#FF00FFDD")); all((colors.have.transparency(c("#FFFFFF00", "#ABABABAB"))));
Run the code above in your browser using DataLab