|
Subject: Re: The DSSSList Digest V2 #294 From: Ralph Ferris <ralph@xxxxxxxxxxxxxxx> Date: Mon, 15 Mar 1999 12:38:47 -0500 |
At 02:30 AM 3/15/99 -0500, Younsik Kim wrote:
>
>The DSSSList Digest Monday, March 15 1999 Volume 02 : Number 294
>
>
>
>In this issue:
>
> RGB color
>
>----------------------------------------------------------------------
>
>Date: Mon, 15 Mar 1999 10:19:15 +0900
>From: "Kim, Younsik" <yskim@xxxxxxxxxxx>
>Subject: RGB color
>
>Hi,
>
>I want add color attribute (#RRGGBB in hex) in style-sheet that I am
>making these day.
>I have refered HTML3.2 and Docbook style-sheet.
>But I can't find contents about process of color attribute.
>So, I want get solution as examples.
>
Your style sheet needs to include declarations along the lines of the
following:
<!doctype style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN">
(define (rgb r g b)
(color (color-space "ISO/IEC 10179:1996//Color-Space Family::Device RGB")
r g b))
(define white-color (rgb 1 1 1))
(define veju-color (rgb 0.9 0.9 1))
(define red-color (rgb 1 0 0))
(define green-color (rgb 0 1 0))
(define blue-color (rgb 0 0 1))
(element doc
(make scroll
start-margin: 20pt
background-layer: 2
background-color: red-color
)
You'll find examples in the HyBrick distribution at:
http://www.fsc.fujitsu.com/hybrick/
Best regards,
Ralph E. Ferris
Fujitsu Software Corporation
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: RGB color, Horst Kucharczyk | Thread | DSSSL library, Dianella Lombardini |
| RE: Hypergroves, STE MARIE, PAUL | Date | DSSSL library, Dianella Lombardini |
| Month |