ColorChart01 Notes

Under Construction! These notes are very preliminary, only a rough draft. A fuller description will be available soon.

Files Used:

Folder: http://www.texgraph.com/xschemas/colorChart01/

  1. index.html ~ Index and ReadMe for ColorChart01.
  2. ColorChart01.css ~ CSS2 Cascading Style Sheet (web standard) ~ for formatting and display of the documents in ColorChart01 format.
  3. colorChart01.dtd ~ DTD Document Type Definition (web standard) ~ the DTD definition of ColorChart01.
  4. colorChart01.xsd ~ XSD XML Schema Definition (web standard) ~ the XSD definition of ColorChart01.
  5. colorChart01.xslt ~ XSLT XML Stylesheet Language Transformational (web standard) ~ the XSLT stylesheet for transforming ColorChart01 into XHTML 1.0. !Sorry, Not Yet Available!
  6. Required: TexGraph.com Character Entities;

Folder: http://www.texgraph.com/xschemas/char-ent/

  1. chars-extra.ent ~ DTD ENT file of character entities (web standard) ~ Wrapper for the custom special characters (letter and symbol glyphs) used by all TexGraph.com XML. Includes links to the phonetic.ent file, additional custom character entities by this author.
  2. chars-xhtml1.ent ~ DTD ENT file of character entities (web standard) ~ Wrapper for the XHTML1 standard special characters (letter and symbol glyphs) for use by all TexGraph.com XML. Includes links to the xhtml-lat1.ent, xhtml-special.ent, and xhtml-symbol.ent files, which are standard to XHTML 1.0 and compatible with XML 1.0 applications.

See Also:

  1. http://www.texgraph.com/ (Web)
  2. http://www.texgraph.com/ (Local)
  3. colors.xml ~ ColorChart01 sample document. Additional sample documents will be available soon.
  4. About Web Color Usage ~ Has links to several color resources on TexGraph.com.
  5. color-conv.html ~ Color Models and Color Conversion
  6. sitemap.html

About ColorChart01

ALPHA — Development in progress. Tag element and attribute names and definitions are subject to change, and file paths (URLs) may change.

ColorChart01 is an XML 1.0 document format for color charts, lists, or tables. Color lists may be named, and more than one list can be declared and defined in a document. Each color must have a color swatch, a web RGB definition, a color definition list, and a color name. The name may be a null string, but the tag is required.

The color definition list allows for multiple models, with 0 (zero) or more entries, but only one definition per model. That is, each color can have a definition in each of several models; however, only one definition per model is required and allowed per color.

Color Models and Their Components

  1. RGB ~ red, green, blue expressed as decimal integers [0...255], followed by the web-standard #rrggbb hexadecimal byte format;
  2. CMYK ~ four-color process of cyan, magenta, yellow, black, expressed as decimal percent [0...100];
  3. HSB ~ hue as degrees [0...360], saturation and brightness as percent [0...100];
  4. TINT ~ expressed as string of base color name, tint as percent [0..100];

The ColorChart01 document format was begun in response to the author’s need for a way to compare and share colors between documents and applications, for consistency across a project, and to document the colors used in a project. The author is unaware of any automatic report format that provides a list of colors used along with a swatch, or that allows sharing across application programs from the same or different vendors.

At this time, there is no script or application that allows editing or viewing the color lists in other than a static XML document. That is a future requirement. Ideally, it would allow conversion between models, viewing of colors while editing, and opening/saving of color libraries for drawing and page layout and web editing programs.

Future, not yet supported: Does not contain or support XHTML 1.0 tags. Does not support XML hyperlinks, either as XPath and XPointer, or as XHTML 1.0 <a> tags. These are urgent! The author’s understanding is that XPath, XPointer, etc. are not yet finalized nor supported directly by any major browser. The author just hasn’t figured out yet how to embed XHTML 1.0 into ColorChart01. (Developing in something that is itself under development is “interesting” — in the sense used in the old Chines proverb/curse, “may you live in interesting times.”

Future, not yet supported: Does not use XSLT XML Transformational Stylesheets, which would be used to transform the source XML into an XHTML 1.0, HTML 4.01, plain-text, or some other file format. Again, this is because the author is still learning XML and its alphabet soup of related formats required to support it.