From: Christiaan H. <cmh...@gm...> - 2015-05-28 20:23:53
|
On May 28, 2015, at 20:02, Fran Calcraft wrote: > The instructions in the Skim Wiki for changing the page background > colour do not make much sense to me. This is the instruction: > > Key : SKPageBackgroundColor > Values : -data, archived color, or an -array of -float > Explanation : Set this to change the default white background color of > pages. This can be an array of one to four floats between 0 and 1, or > data for an archived color. > > I got everything entered into the Terminal for the setting, but using a > hexadecimal code for the background colour value did not do anything. > Presumably I misunderstood the meaning? What is an "archived color" anyway? > > The colour I want for the background is #FFFF88. Is there any way to > get that? I did not use the "#" in front of the hex digits, since > Terminal treated that as an error. An archived color is a a raw data representation of the AppKit color. But you would never be able to guess what this should be (you could perhaps copy it form some other value.) Easiest is to use an array of floats, in your case -array -float 1 -float 1 -float 0.53333. You can also use AppleScript to set the page background color, then you can choose one using a color panel. Christiaan |