Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have many list plots, and I want to fill them according to my own choice of color. Can I do this in Mathematica? And how I can get different number codes of filling curves? For example, how would I find what color was defined by RGBColor[1, 101/232, 9/29]?

share|improve this question

closed as off-topic by Sjoerd C. de Vries, Jens, Artes, Michael E2, belisarius Jul 13 '13 at 12:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Sjoerd C. de Vries, Jens, Michael E2, belisarius
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Have a look at FillingStyle. The codes are just RGB colors where each color is specified with a Red, Green and Blue component between 0 and 1. You might want to examine the color scheme palette in the Palette menu. PS: I downvoted this because all this is easily found in the documentation (first and second hit when trying the search term 'fill'). –  Sjoerd C. de Vries Jul 12 '13 at 19:13

1 Answer 1

For filling list plots, read the ListPlot documentation under Examples > Options > Filling and Examples > Options > FillingStyle.

To choose colors, you can get access to your systems color picker with

ColorSetter[]

swatch.png

Click on the gray color patch, and the color picker will pop-up.

colorpicker.png

Edit

This will also pop up the color picker:

SystemDialogInput["Color"]

Another useful way to pick colors is to use ColorData. For example, to choose named, HTML-safe colors, evaluate

ColorData["HTML", "Panel"]

HtmlColorPanel.png

This is an interactive panel. Tooltips will show you the color names as you mouse over the panel. Clicking on one the patches will produce a new notebook cell with the RGB value for the color clicked on.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.