Modifying or Creating a Color Palette

From NeoWiki

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-3.0/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

[edit] 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-3.0/user/config folder opens
    • Select the file in .soc format which corresponds to the palette you want to display, and click on Open.

[edit] 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.

[edit] 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.

[edit] Creating a new palette

  • Open the ~/Library/Preferences/NeoOffice-3.0/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-3.0/user/config, where ~ is your home folder.

[edit] Using Digital Color Meter

The Digital Color Meter for Mac OS X is located in /Applications/Utilities. It provides you with the chromatic values of any pixel on your screen. All you need to do is move the mouse cursor around your screen while Digital Color Meter is the frontmost application.
It gives you several options :

  • Copying the values RGB 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.


This article in other languages: Français
Personal tools