Modifying or Creating a Color Palette

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:08, 29 September 2007 (edit)
Jgd (Talk | contribs)
(New page)
← Previous diff
Current revision (06:39, 15 February 2010) (edit) (undo)
Sardisson (Talk | contribs)
(update to 3.0; maybe we need a template for this? prefsPathVersion or something)
 
(6 intermediate revisions not shown.)
Line 1: Line 1:
-NeoOffice includes several color palettes. In Writer you can use the default color palette, available from the {{menu|NeoOffice}} menu, by choosing {{menu|Preferences}}, then {{section|NeoOffice}} and {{prefName|Colors}} . The other ones are only available in Draw. All these palettes are files in <tt>.soc</tt> format and are placed in the <tt>~/Library/Preferences/NeoOffice-2.2/user/config</tt> folder. The default palette is <tt>standard.soc</tt>.<br>+NeoOffice includes several color palettes. In Writer you can use the default color palette, available from the {{menu|NeoOffice}} menu, by choosing {{menu|Preferences}}, then {{section|NeoOffice}} and {{prefName|Colors}} . The other ones are only available in Draw. All these palettes are files in <tt>.soc</tt> format and are placed in the <tt>~/Library/Preferences/NeoOffice-3.0/user/config</tt> folder. The default palette is <tt>standard.soc</tt>.<br>
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. 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.
===Displaying a color palette === ===Displaying a color palette ===
-*To display the default palette, you just have to go in the {{menu|NeoOffice}} menu, click on the {{menu|Preferences}} item, then choose {{section|NeoOffice}} and {{prefName|Colors}}.+*To display the default palette, you just have to go to the {{menu|NeoOffice}} menu, click on the {{menu|Preferences}} item, then choose {{section|NeoOffice}} and {{prefName|Colors}}.
*To display another color palette, you must: *To display another color palette, you must:
**Open a Draw document **Open a Draw document
**In the {{menu|Format}} menu, choose {{menu|Area…}} **In the {{menu|Format}} menu, choose {{menu|Area…}}
-**In the {{window|Area}} window, click on the {{prefName|Coulors}} tab+**In the {{window|Area}} window, click on the {{prefName|Colors}} tab
**Click on the '''Load Color List''' button, showing a blue folder with a green arrow **Click on the '''Load Color List''' button, showing a blue folder with a green arrow
-**The <tt>~/Library/Preferences/NeoOffice-2.2/user/config</tt> folder opens+**The <tt>~/Library/Preferences/NeoOffice-3.0/user/config</tt> folder opens
**Select the file in <tt>.soc</tt> format which corresponds to the palette you want to display, and click on {{button|Open}}. **Select the file in <tt>.soc</tt> format which corresponds to the palette you want to display, and click on {{button|Open}}.
===Adding or deleting colors=== ===Adding or deleting colors===
*To add colors *To add colors
-**Click on a color, then modify the RVB values by copying, for example, the values read in the Digital Color Meter of your Mac while selectting a color (see [[#Using the Digital Color Meter|Using the Digital Color Meter]])+**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|Using the Digital Color Meter]])
**Or you can click on the {{button|Edit…}} button and follow the steps given in the [[#Modifying colors in a palette|Modifying colors in a palette]] section **Or you can click on the {{button|Edit…}} button and follow the steps given in the [[#Modifying colors in a palette|Modifying colors in a palette]] section
**Give this new color a name **Give this new color a name
Line 37: Line 37:
===Creating a new palette=== ===Creating a new palette===
-*Open the <tt>~/Library/Preferences/NeoOffice-2.2/user/config</tt> folder, select the file in <tt>.soc</tt> format which corresponds to the palette you want to change, then copy it, to '''make a backup''', in case of problem.+*Open the <tt>~/Library/Preferences/NeoOffice-3.0/user/config</tt> folder, select the file in <tt>.soc</tt> 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 *Open a Draw document
*In the {{menu|Format}} menu, choose {{menu|Area…}} *In the {{menu|Format}} menu, choose {{menu|Area…}}
-*In the {{window|Area}} window, click on the {{prefName|Coulors}} tab+*In the {{window|Area}} window, click on the {{prefName|Colors}} tab
*Click on the '''Load Color List''' button, showing a blue folder with a green arrow *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 {{button|Open}} *Navigate to the file you have saved, select it and click on {{button|Open}}
*Modify the palette by deleting or adding colors as in the previous section *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 +*Save the new palette by clicking on the '''Save Color List''' button, showing a floppy disk
*Give this palette a name then click {{button|OK}}. <br> *Give this palette a name then click {{button|OK}}. <br>
-This palette will be available in Draw documents. If you want to make it the default palette, rename it <tt>standard.soc</tt>. Before, be sure to '''make a backup''' of the <tt>standard.soc</tt> file. +This palette will be available in Draw documents. If you want to make it the default palette, rename it <tt>standard.soc</tt>. Before you do, be sure to '''make a backup''' of the current <tt>standard.soc</tt> file.
[[image:Color_Table.png|center]] [[image:Color_Table.png|center]]
-'''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 <tt>~/Library/Preferences/NeoOffice-2.2/user/config</tt>, where <tt>~</tt> is your home folder.+'''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 <tt>~/Library/Preferences/NeoOffice-3.0/user/config</tt>, where <tt>~</tt> is your home folder.
===Using Digital Color Meter=== ===Using Digital Color Meter===
-The Digital Color Meter of Mac OS X located in <tt>/Applications/Utilities</tt> allows you to know, by moving the cursor, the chromatic values of any pixel on your screen.<br>+The Digital Color Meter for Mac OS X is located in <tt>/Applications/Utilities</tt>. 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.<br>
-It gives you several options :+It gives you several options :
-*Copying the values RVB in the clipboard: press the {{key| Cmd-Shift-C}} keys+*Copying the values RGB in the clipboard: press the {{key| Cmd-Shift-C}} keys
*Holding the color: press the {{key|Cmd-Shift-H}} keys *Holding the color: press the {{key|Cmd-Shift-H}} keys
*:then *:then
*Copying the color as image: press the {{key|Cmd-Opt-C}} keys *Copying the color as image: press the {{key|Cmd-Opt-C}} keys
*:Afterwards you can paste that image in a text document, a spreadsheet or an Impress document by pressing the {{key|Cmd-V}} keys. *:Afterwards you can paste that image in a text document, a spreadsheet or an Impress document by pressing the {{key|Cmd-V}} keys.
-*You can look at [http://docs.info.apple.com/article.html?artnum=152055-en this aricle] on Apple's web site.+<!-- *See also [http://docs.info.apple.com/article.html?artnum=152055- this article] on Apple's website. -->
{{botlangbarEN|[[Fr:Modifier ou Créer une Palette de Couleurs|Français]]}} {{botlangbarEN|[[Fr:Modifier ou Créer une Palette de Couleurs|Français]]}}
[[Category:Tips and Hints]][[Category:NeoOffice]] [[Category:Tips and Hints]][[Category:NeoOffice]]

Current revision

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

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.

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-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.

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