> print(palette(c(roygbiv, NA_character_))) [1] #FF4444 #FFAE4D #FFFF60 #50FF50 #3939FA #AB3FFB [2] #F68BF6