# :DEPRECATED:
# context("test_colourlovers_api")
#
# test_that("colour lovers api works", {
# expect_contains(
# colourgen::make_palette(colour = 1696148, n = 7),
# c("#280904", "#520C24", "#78102B", "#9A151A", "#B41914", "#D52A19", "#FC4B2A"))
# })
context("test_color-hex_api")
test_that("color-hex api works", {
expect_contains(
colourgen::make_palette(colour = 1010612, n = 5),
c("#7EE787", "#18BC9C", "#4254A7", "#19177C", "#A1024A"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.