Skip to content

Instantly share code, notes, and snippets.

View douglastofoli's full-sized avatar
⚗️
I'm an alchemist!

Douglas Tofoli douglastofoli

⚗️
I'm an alchemist!
View GitHub Profile
defmodule Colors do
def random_hexadecimal do
random_color = generate_random_color()
if is_light_color?(random_color) do
random_hexadecimal()
else
random_color
end
end