Skip to contents

Provides the standard reference RGB values for the 24-patch ColorChecker Classic (Macbeth) chart in sRGB D65 color space.

Usage

colorchecker_ref(chart = c("colorchecker24", "macbeth"))

Arguments

chart

The reference chart standard. Currently "colorchecker24" (default) or "macbeth".

Value

A data.frame with 24 rows and columns:

  • id: Patch identifier (1 to 24).

  • code: Patch code (No.001 to No.024).

  • name: Descriptive name of the color patch.

  • R, G, B: Standard reference sRGB values (0-255 scale).

  • ref_R, ref_G, ref_B: Alias reference columns.

Examples

ref <- colorchecker_ref()
head(ref)
#>   id   code         name   R   G   B ref_R ref_G ref_B
#> 1  1 No.001    Dark skin 115  82  69   115    82    69
#> 2  2 No.002   Light skin 204 161 141   204   161   141
#> 3  3 No.003     Blue sky 101 134 179   101   134   179
#> 4  4 No.004      Foliage  89 109  61    89   109    61
#> 5  5 No.005  Blue flower 141 137 194   141   137   194
#> 6  6 No.006 Bluish green 132 228 208   132   228   208