Palette file
A palette file holds every chart color of a report, which is 12 roles for light slides and 12 for dark. Importing one sets them all at once and changes nothing else in the report, so the fonts, the period, the slides and the Dashboard stay as they are. One file can also hold several palettes, for example one per client.
Get the template
Section titled “Get the template”- Open the Report menu, the sliders icon at the top right, and choose Report settings.
- In Colors, choose Download palette file.
You get binbox-palette.json with the colors on screen. That file is the template, so change its hex codes and import
it.
Once you have saved palettes, Download your palettes gives binbox-palettes.json with all of them in one file.
Import a file
Section titled “Import a file”In Colors, choose Import a palette file… and pick the file. Each palette in it is saved to Your palettes under its name and listed in Chart colors, and the first one is used. Owners and admins can import a file into the account palettes from Account settings… instead. A message says how many colors were read and which palettes were saved. The colors apply to the slides, Present, the PDF and the PowerPoint export, and they are saved with the report setup.
The import follows these rules:
- A palette with the same name as one already saved, ignoring capitals, replaces that palette’s colors.
- A palette without a
nametakes the file’s name, such asclientsforclients.json. In a file of several, the name is numbered, as inclients 2. - A role the file leaves out takes the color on screen, so a file can set only the dark colors, or only two roles.
- A value that is not six hex digits is skipped, and the message names it, for example
light.s2, orpalettes[1].light.s2in a file of several. A palette with no color at all is skipped and named, for examplepalettes[2]. - Up to 20 palettes can be saved. When the list is full, the file’s first palette goes on screen as Custom and is not saved, so delete a palette to make room.
- Keys the app does not know are ignored.
- The Colors table marks a color that is too faint on its slide, which is under 3:1 for a line or mark and under 4.5:1 for up and down text. The import still takes that color.
To go back, choose another palette in Chart colors.
Your palettes
Section titled “Your palettes”Your palettes, under the colors table, lists each palette by name. To save the colors on screen as a palette too, type a name and choose Save as palette. A name already in the list takes the new colors.
- Change a palette’s name in its box. Two palettes cannot share a name.
- Use puts a palette on screen. Editing a color then switches to Custom, starting from that palette. Save it again under the same name to change the palette.
- The × deletes a palette at once. A report using it keeps its colors as Custom.
When you are signed in, your palettes are kept in your client account, and the account can have palettes of its own for everyone. Palettes explains both.
Example
Section titled “Example”This is the file Download palette file writes for Inkwell, BInbox’s own chart colors.
{ "_type": "binbox-palette", "_version": 1, "name": "Inkwell", "light": { "s1": "#15191F", "s2": "#3D4E6E", "s3": "#6B7A90", "s4": "#FA4D56", "s5": "#1E4FD8", "s8": "#5699D3", "s7": "#9C5410", "s6": "#9AA1AD", "subject": "#15191F", "others": "#CDD2D9", "positive": "#15191F", "negative": "#C62828" }, "dark": { "s1": "#F1F3F5", "s2": "#B9C4D6", "s3": "#9AA8BC", "s4": "#FA4D56", "s5": "#6E9BFF", "s8": "#2F64C9", "s7": "#F59A1B", "s6": "#6B7280", "subject": "#F1F3F5", "others": "#3A4049", "positive": "#F1F3F5", "negative": "#FF7B82" }, "_roles": { "s1": "Highlight / main series", "s2": "Series 2", "s3": "Series 3", "s4": "Peer 1", "s5": "Peer 2", "s8": "Peer 3", "s7": "Peer 4", "s6": "Prior period", "subject": "Highlight", "others": "Other bars", "positive": "Up", "negative": "Down" }}Several palettes
Section titled “Several palettes”A file of several palettes is version 2. It has a palettes list, and each entry has a name, light and dark,
as in a file of one. This is the file Download your palettes writes for two palettes: Inkwell, BInbox’s own
colors, and the color-blind friendly Okabe-Ito colors.
{ "_type": "binbox-palette", "_version": 2, "palettes": [ { "name": "Inkwell", "light": { "s1": "#15191F", "s2": "#3D4E6E", "s3": "#6B7A90", "s4": "#FA4D56", "s5": "#1E4FD8", "s8": "#5699D3", "s7": "#9C5410", "s6": "#9AA1AD", "subject": "#15191F", "others": "#CDD2D9", "positive": "#15191F", "negative": "#C62828" }, "dark": { "s1": "#F1F3F5", "s2": "#B9C4D6", "s3": "#9AA8BC", "s4": "#FA4D56", "s5": "#6E9BFF", "s8": "#2F64C9", "s7": "#F59A1B", "s6": "#6B7280", "subject": "#F1F3F5", "others": "#3A4049", "positive": "#F1F3F5", "negative": "#FF7B82" } }, { "name": "Okabe-Ito", "light": { "s1": "#0072B2", "s2": "#3A93CC", "s3": "#009E73", "s4": "#CC79A7", "s5": "#C27C00", "s8": "#B8860B", "s7": "#1F2A44", "s6": "#9D9E9E", "subject": "#D55E00", "others": "#0072B2", "positive": "#0072B2", "negative": "#B84A00" }, "dark": { "s1": "#56B4E9", "s2": "#2C8FD1", "s3": "#2EC4A0", "s4": "#E08FC3", "s5": "#F0B040", "s8": "#F0E442", "s7": "#C9D1DB", "s6": "#B9BBBD", "subject": "#FF8A3D", "others": "#56B4E9", "positive": "#56B4E9", "negative": "#FF9F5A" } } ], "_roles": { "s1": "Highlight / main series", "s2": "Series 2", "s3": "Series 3", "s4": "Peer 1", "s5": "Peer 2", "s8": "Peer 3", "s7": "Peer 4", "s6": "Prior period", "subject": "Highlight", "others": "Other bars", "positive": "Up", "negative": "Down" }}A file with one palette is written as version 1, as above.
Fields
Section titled “Fields”| Field | Required | What it holds |
|---|---|---|
_type |
No | "binbox-palette". A file without it is read if it has light or dark. |
_version |
No | 1 for one palette, 2 for a palettes list. A higher number is refused, because the file was saved by a newer version of the app. |
name |
No | A name for the palette, up to 60 characters. The palette is saved under it, or under the file’s name when it has none. |
light |
One of the two, or palettes |
The colors on light slides, by role. |
dark |
One of the two, or palettes |
The colors on dark slides, by role. |
palettes |
Instead of light and dark |
A list of palettes, each with a name, light and dark. A file with a list reads only the list. |
_roles |
No | Each role’s name in the Colors table. It is written as a guide and ignored on import. |
A color is six hex digits, with or without #, in any case, such as "#2F6FED" or "2f6fed".
| Role | Name in the Colors table |
|---|---|
s1 |
Highlight / main series |
s2 |
Series 2 |
s3 |
Series 3 |
s4 |
Peer 1 |
s5 |
Peer 2 |
s8 |
Peer 3 |
s7 |
Peer 4 |
s6 |
Prior period |
subject |
Highlight |
others |
Other bars |
positive |
Up |
negative |
Down |
Files that are refused
Section titled “Files that are refused”A refused file changes nothing, and the message says why.
| Message | What to do |
|---|---|
| That file is too large to be a palette file. | A palette file is under 64,000 characters. Check you picked the right file. |
| That file is not a palette file: it is not valid JSON. | Look for a missing comma, quote or brace. |
| That file is not a palette file. | The file needs a light or dark object, or a palettes list. |
| That file is a report setup, not a palette file. Use Import report setup for it. | Use Import report setup… in the Report menu instead. It replaces every setting, not only the colors. |
| That file is not a palette file: it is a different kind of file. | Its _type is not "binbox-palette". |
| That palette file has a version this app cannot read. | _version must be a whole number, 1 or 2. |
| That palette file was saved by a newer version of the app. Update it to open this file. | Reload app.binbox.ai to get the newest version. |
| That palette file holds no colors: give light or dark colors as six hex digits, such as “#2F6FED”. | Check the role names and the hex codes. |