Modifying or Creating a Color Palette

From NeoWiki

Revision as of 18:46, 29 September 2007 by Lorinda (Talk | contribs)
Jump to: navigation, search

NeoOffice includes several color palettes. In Writer you can use the default color palette, available from the NeoOffice menu, by choosing Preferences, then NeoOffice and Colors . The other ones are only available in Draw. All these palettes are files in .soc format and are placed in the ~/Library/Preferences/NeoOffice-2.2/user/config folder. The default palette is standard.soc.
You can modify, remove the colors provided in the palettes, or add new ones. You can even create a new color palette and make it the default palette.

Contents

Displaying a color palette

  • To display the default palette, you just have to go to the NeoOffice menu, click on the Preferences item, then choose NeoOffice and Colors.
  • To display another color palette, you must:
    • Open a Draw document
    • In the Format menu, choose Area…
    • In the Area window, click on the Colors tab
    • Click on the Load Color List button, showing a blue folder with a green arrow
    • The ~/Library/Preferences/NeoOffice-2.2/user/config folder opens
    • Select the file in .soc format which corresponds to the palette you want to display, and click on Open.

Adding or deleting colors

  • To add colors
    • Click on a color, then modify the RGB values by copying, for example, the values read in the Digital Color Meter of your Mac while selecting a color (see Using the Digital Color Meter)
    • Or you can click on the Edit… button and follow the steps given in the Modifying colors in a palette section
    • Give this new color a name
    • Click on Add
    • Click OK.
  • To delete colors
    • Click on the color you want to delete.
    • Click on Delete.
    • Click OK.

Modifying colors in a palette

  • Click on the color you want to modify, then on the Edit… button
  • In the Color window which opens, a little square in the right area selects the color you want to modify
    • You can modify the chromatic values of the color in the numeric input fields
    • You can modify the color by moving the cursor in this area
    • You can also click on a corner of the left area and replace the color selected in the color palette with the color selected at the right by clicking on the <–– button
    • Choose the color you desire, then click on the ––> button to replace the color in the right area with the color selected in the left one, and update the chromatic values
  • Click OK
    The color is changed in the palette
  • Click on Modify
  • Click OK.

Creating a new palette

  • Open the ~/Library/Preferences/NeoOffice-2.2/user/config folder, select the file in .soc format which corresponds to the palette you want to change, then copy it, to make a backup, in case of problem.
  • Open a Draw document
  • In the Format menu, choose Area…
  • In the Area window, click on the Colors tab
  • Click on the Load Color List button, showing a blue folder with a green arrow
  • Navigate to the file you have saved, select it and click on Open
  • Modify the palette by deleting or adding colors as in the previous section
  • Save the new palette by clicking on the Save Color List button, showing a floppy disk
  • Give this palette a name then click OK.

This palette will be available in Draw documents. If you want to make it the default palette, rename it standard.soc. Before you do, be sure to make a backup of the current standard.soc file.


Note : If you have modified or created a palette, remember to save it in case of a reinstallation or installation of a new version of NeoOffice . It is located in the ~/Library/Preferences/NeoOffice-2.2/user/config, where ~ is your home folder.

Using Digital Color Meter

The Digital Color Meter of Mac OS X located in /Applications/Utilities allows you to know, by moving the cursor, the chromatic values of any pixel on your screen.
It gives you several options :

  • Copying the values RVB in the clipboard: press the Cmd-Shift-C keys
  • Holding the color: press the Cmd-Shift-H keys
    then
  • Copying the color as image: press the Cmd-Opt-C keys
    Afterwards you can paste that image in a text document, a spreadsheet or an Impress document by pressing the Cmd-V keys.
  • You can look at this aricle on Apple's web site.


This article in other languages: Français
Personal tools