Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    $\begingroup$ I should have mentioned that I plan to use the function in a larger expression, so that saving the random color to a separate variable before applying the Style is exactly what I would like to avoid. (In this sense, your code is equivalent to my hacky solution using Block.) $\endgroup$ Commented Dec 2, 2016 at 19:54