Previous | Next | (P-PDF) Forms & FDF
Topic: Highlighting a text field when cursor enters (Via Email)
Conf: (P-PDF) Forms & FDF, Msg: 39645
From: DanielAri
Date: 5/3/2002 01:43 AM
I opened the Acrobat Javascript Guide. I did a search for RGB.
The next sentence was: "Refer to the Color Arrays section for information
on defining color arrays and how values are used with this property."
"Color Arrays" was linked, and I clicked on this link. It took me to a
page that describes how this works. The three numbers in the array are
red, green, and blue values. 1 is 100%, 0 is 0%. Some colors to get you
started:
1,0,0 red
0,1,0 green
0,0,1 blue
0,1,1 cyan
1,0,1 magenta
1,1,0 yellow
If you can remember RGB and CMY, then you can remember that C is not R, so
C is G & B. M is not G, so it is R & B.
If you want other colors, most graphics arts programs have a color picker
that will allow you to find the color you want and see the RGB values. In
Windows, if you go to the Control Panels and double-click Display and
choose the "Appearance" tab, you will have a dialog with a pop-up menu to
select Color. Choose Other, and you will get a color picker that will give
you RGB values in a zero to 255 range. Divide each by 255 to get an
Acrobat color. (This is all in NT.) It is not the best color picker, but
it may already be on your computer.
Regards,
Dan-Ari