This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ACO (.aco)

Adobe Photoshop color swatch format.
Used for storing color palettes.
Native format of the Adobe Photoshop image-editing application.
ACO is an acronym derived from Adobe Color.
Binary file format.
Stores color specifications and, in Version 2 of the format, color names.
Represents color values using 16 bits per color channel.
Supports a variety of color spaces.
  • Import and Export support versions 1 and 2 of the ACO file format.
  • Import imports an ACO file as a list of color primitives.
  • Export exports a list of colors or color rules to ACO.
  • Import reads an ACO file and returns a list of color primitives, using exact numbers to represent color coordinates.
  • Export exports a list of color primitives to ACO, using version 1 of the format.
  • Export creates an ACO version 2 file from color rules.
  • Import imports the specified element from an ACO file.
  • Import imports multiple elements.
  • Export creates an ACO file by treating expr as specifying element elem.
  • Export treats each as specifying the corresponding .
  • Export exports expr with the specified option elements taken to have the specified values.
  • Export uses rules to specify the elements to be exported.
  • See the reference pages for full general information on Import and Export.
"Elements"list of elements and options available in this file
"Rules"full list of rules for each element and option
"Options"list of rules for options, properties and settings
  • Data representation elements:
"ColorList"list of color primitives
"ColorRules"rules for named colors
"ColorSetters"list of ColorSetter objects
  • Import by default uses the element.
Read an ACO file that contains a palette of the 206 web-safe colors, and show the first few:
Import the same file as a list of ColorSetter objects:
Show all ColorSetter objects arranged in a grid:
Read an ACO file that contains a palette of the 206 web-safe colors, and show the first few:
In[1]:=
Click for copyable input
Out[1]=
 
Import the same file as a list of ColorSetter objects:
In[1]:=
Click for copyable input
Show all ColorSetter objects arranged in a grid:
In[2]:=
Click for copyable input
Out[2]=