undmc.Rd
Return the hex code and RGB values of a given DMC embroidery floss
undmc(dmc, visualize = TRUE)
dmc | DMC floss identifier. Usually the floss number (e.g. 210), or the name if it does not commonly have a number (e.g. "Ecru"). |
---|---|
visualize | Whether to visualize the DMC floss colour. Defaults to TRUE. |
undmc("Ecru")#> # A tibble: 1 x 6 #> dmc name hex red green blue #> <chr> <chr> <chr> <dbl> <dbl> <dbl> #> 1 Ecru Ecru #F0EADA 240 234 218undmc(310)#> # A tibble: 1 x 6 #> dmc name hex red green blue #> <chr> <chr> <chr> <dbl> <dbl> <dbl> #> 1 310 Black #000000 0 0 0#> # A tibble: 2 x 6 #> dmc name hex red green blue #> <chr> <chr> <chr> <dbl> <dbl> <dbl> #> 1 210 Lavender - Medium #C39FC3 195 159 195 #> 2 211 Lavender - Light #E3CBE3 227 203 227