Print the result from a call to qualpal.
Arguments
- x
An object of class
"qualpal".- colorspace
Color space to print colors in.
- digits
Number of significant digits for the output. (See print.default.) Setting it to
NULLusesgetOption("digits").- ...
Arguments to pass to
print.default.
Value
Prints the colors as a matrix in the specified color space as well as a distance matrix of the color differences. Invisibly returns x.
Examples
f <- qualpal(3)
print(f, colorspace = "DIN99d", digits = 3)
#> ----------------------------------------
#> Colors in the DIN99d color space
#>
#> [,1] [,2] [,3]
#> [1,] 59.3 31.62 7.44
#> [2,] 82.5 -3.77 32.19
#> [3,] 69.3 -17.89 -17.90
#>
#> ----------------------------------------
#> DIN99d color difference distance matrix
#>
#> 1 2
#> 2 22.8
#> 3 25.3 24.4