Find thumbnail color
Details
Given a mono-colored thumbnail this function extracts the RGBA
channels and returns a vector scaled from [0, 1]
or a hex color code.
Examples
path <- system.file("extdata", "test_thumbnail.png", package = "Rigma")
thumbnail_color(path)
#> [1] "#343A40FF"