title: How is color handled in AppleScript?
body: <p>I'm trying to use AppleScript to change the background color of a Finder window and came across this code snippet, which seems to work... However, I'm not sure the logic of the color array... </p>
  
  <pre><code>tell the icon view options of the front Finder window
      set the background color to {52942, 54484, 31097}
  end tell
  </code></pre>
  
  <p>What does the {52942, 54484, 31097} AppleScript magic refer to? It doesn't look like RGB to me... How would I get something specific like red (#ff0000 | 255, 0, 0) or, better yet, a neon cyan (#00f6ff | 0, 246, 255)?</p>