Re: Help with color

Subject: Re: Help with color
From: Ralph Ferris <ralph@xxxxxxxxxxxxxxx>
Date: Mon, 25 Jan 1999 11:59:46 -0500
At 02:30 AM 1/25/99 -0500, Ken Holmes wrote:
>Can someone try the code below with another back end, please?  I'm curious
>now myself, not having had to do this before, and I don't have any other
>back ends installed.

We've been using the following with HyBrick; it's essentially the same as
Ken's example.

<!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-color: red-color
    ; background-layer: 2  - can be included, but doesn't change display
    ; box-type: 'background - can be included, but doesn't change display


HyBrick is available at 

Best regards,

Ralph E. Ferris
Fujitsu Software Corporation

 DSSSList info and archive:

Current Thread