Script error from Legend2D component

Hi,
I am getting a script error when trying to use the Legend2D component with CreateLegend. The error message is “expected Color, got int”