JPowered.com

Advanced Graphs and Charts for PHP

Color Specifications

Overview

Any color parameter can accept colors defined in one of two ways:-

Standard HTML Hexadecimal Color defintion

The graph can accept color values in the same format as colors are defined within an HTML page. ie. in the range and format from "#000000" to "#FFFFFF".

eg.

gridbgcolor: #FFFFFF

This is a Red,Green,Blue color model where each component is defined by a 2 byte (character) Hexadecimal number. Some common values are,

Black - #000000Green - #008000
Silver - #B0B0B0Lime - #00FF00
Gray - #808080Olive - #808000
White - #FFFFFFYellow - #FFFF00
Maroon - #800000Navy - #000080
Red - #FF0000Blue - #0000FF
Purple - #800080Teal - #008080
Fuchsia - #FF00FFAqua - #00FFFF

Color Name

The graph will also recognize all of the following color names and as such you can use these names as the value of any Color parameter.

eg.

gridbgcolor: light blue

Color Names recognised by the graphing software
redlight reddark red
greenlight greendark green
bluelight bluedark blue
orangelight orangedark orange
yellowlight yellowdark yellow
pinklight pinkdark pink
purplelight purpledark purple
greylight greydark grey
graylight graydark gray
black
white
cyanturquoisebeige
brownmaroonmagenta
violetpeachlavender
rosenavyroyalblue
sky bluesteel bluesea green
lime greenkhakiaquamarine
gold

« back to Parameter Reference

 

Package Index

Demo Index

Documentation

Troubleshooting Guide

Support

Documentation Contents

Adding Graphs to Web Pages

Configuration Options and Parameters

Supplying the Graph with Data

Sample Image Tags

Database Connections

Database Information method

Custom Data Function

 

more Documentation Online here