mathematica三种颜色中任选一种

Style[a, Part[{Red, Yellow, Green}, RandomInteger[2] + 1]]

你可能感兴趣的:(mathematica三种颜色中任选一种)