R/hex_bw.R
hex_bw.Rd
Identify a suitable font color (black or white) given a background HEX color
hex_bw(hex_code)
Adapted from saros
saros
Background color in hex-format.
Either black or white, in hex-format
hex_bw("#0dadfd") #> [1] "#000000"