Read Hexadecimal Color Descriptions
This function reads a set of hexadecimal color descriptions from a file and creates a color object containing the corresponding colors.
readhex(file = "", class = "RGB")
file |
The file containing the color descriptions. |
class |
The kind of color object to be returned. |
The file is assumed to contain hexadecimal color descriptions of the form
#RRGGBB
.
An color object of the specified class containing the color descriptions.
Ross Ihaka
## Not run: rgb <- readhex("pastel.txt") hsv <- readhex("pastel.txt", "HSV") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.