Wolfram Data Repository
Immediate Computable Access to Curated Contributed Data
Color specifications and names used for LEGO bricks
(4 columns, 39 rows)
In[1]:= | ![]() |
Out[1]= | ![]() |
Return the colors as a list of rules:
In[2]:= | ![]() |
Out[2]= | ![]() |
Visualize the LEGO colors in a chromatic diagram:
In[3]:= | ![]() |
Out[3]= | ![]() |
A test image:
In[4]:= | ![]() |
Out[4]= | ![]() |
Convert the image to a mosaic that would fit on a 48×48 LEGO baseplate, with colors replaced by LEGO colors:
In[5]:= | ![]() |
Out[6]= | ![]() |
Wolfram Research, "LEGO Colors" from the Wolfram Data Repository (2024)