Tip

Using $PaperColor to dynamically change background color of a document

Did you know that you can dynamically change the background color of a document? There is a new feature, used primarily in domino development, called $PaperColor. This is a field that the developer creates in a form and typically hides. The field accepts a number, from 1 to 238, and displays the associated color. $PaperColor works well for Notes and Browser (Domino).

The value of the $PaperColor field, from 1-238, will produce one of the colors listed below. The colors below are listed in order, from 1 to 238. So if the value of $PaperColor was 3 then the background of your document would be red.


1. Black 
2. White 
3. Red 
4. Green 
5. Blue 
6. Magenta 
7. Yellow 
8. Cyan 
9. Dark Red 
10. Dark Green 
11. Dark Blue 
12. Dark Magenta 
13. Dark Yellow 
14. Dark Cyan 
15. Gray 
16. Light Gray 
17. Vanilla 
18. Parchment 
19. Ivory 
20. Pale Green 
21. Sea Mist 
22. Ice Blue 
23. Powder Blue 
24. Arctic Blue 
25. Lilac Mist 
26. Purple Wash 
27. Violet Frost 
28. Seashell 
29. Rose Pearl 
30. Pale Cherry 
31. Blush 
32. Sand 
33. Light Yellow 
34. Honeydew 
35. Celery 
36. Pale Aqua 
37. Pale Blue 
38. Crystal Blue 
39. Light Cornflower 
40. Pale Lavender 
41. Grape Fizz 
42. Pale Plum 
43. Pale Pink 
44. Pale Rose 
45. Rose Quartz 
46. 5% Gray 
47. Red Sand 
48. Buff 
49. Lemon 
50. Pale Lemon Lime 
51. Mint Green 
52. Pastel Green 
53. Pastel Blue 
54. Sapphire 
55. Cornflower 
56. Light Lavender 
57. Pale Purple 
58. Light Orchid 
59. Pink Orchid 
60. Apple Blossom 
61. Pink Coral 
62. 10% Gray 
63. Light Salmon 
64. Light Peach 
65. Avocado 
66. Leaf Green 
67. Light Aqua 
68. Light Turquoise 
69. Light Cerulean 
70. Azure 
71. Lavender 
72. Light Purple 
73. Dusty Violet 
74. Pink 
75. Pastel Pink 
76. Pastel Red 
77. 15% Gray 
78. Salmon 
79. Peach 
80. Mustard 
81. Lemon Lime 
82. Neon Green 
83. Aqua 
84. Turquoise 
85. Cerulean 
86. Wedgewood 
87. Heather 
88. Purple Haze 
89. Orchid 
90. Flamingo 
91. Cherry Pink 
92. Red Coral 
93. 20% Gray 
94. Dark Salmon 
95. Dark Peach 
96. Gold 
97. Yellow Green 
98. Light Green 
99. Caribbean 
100. Dark Pastel Blue 
101. Dark Cerulean 
102. Manganese Blue 
103. Lilac 
104. Purple 
105. Light Red Violet 
106. Light Magenta 
107. Rose 
108. Carnation Pink 
109. 25% Gray 
110. Watermelon 
111. Tangerine 
112. Orange 
113. Chartreuse 
114. Teal 
115. Dark Turquoise 
116. Light Slate Blue 
117. Medium Blue 
118. Dark Lilac 
119. Royal Purple 
120. Fuchsia 
121. Confetti Pink 
122. Pale Burgundy 
123. Strawberry 
124. 30% Gray 
125. Rouge 
126. Burnt Orange 
127. Dark Orange 
128. Light Olive 
129. Kelly Green 
130. Sea Green 
131. Aztec Blue 
132. Dusty Blue 
133. Blueberry 
134. Violet 
135. Deep Purple 
136. Red Violet 
137. Hot Pink 
138. Dark Rose 
139. Poppy Red 
140. 35% Gray 
141. Crimson 
142. Light Brown 
143. Olive 
144. Dark Teal 
145. Spruce 
146. Slate Blue 
147. Navy Blue 
148. Blue Violet 
149. Amethyst 
150. Dark Red Violet 
151. Light Burgundy 
152. Cherry Red 
153. 40% Gray 
154. Dark Crimson 
155. Hazelnut 
156. Dark Olive 
157. Emerald 
158. Malachite 
159. Dark Spruce 
160. Steel Blue 
161. Iris 
162. Grape 
163. Plum 
164. Burgundy 
165. Cranberry 
166. 50% Gray 
167. Mahogany 
168. Brick 
169. Dark Brown 
170. Deep Olive 
171. Dark Emerald 
172. Evergreen 
173. Baltic Blue 
174. Blue Denim 
175. Cobalt Blue 
176. Dark Iris 
177. Midnight 
178. Dark Plum 
179. Plum Red 
180. Dark Burgundy 
181. Scarlet 
182. 60% Gray 
183. Chestnut 
184. Terra Cotta 
185. Umber 
186. Amazon 
187. Peacock Green 
188. Pine 
189. Seal Blue 
190. Dark Slate Blue 
191. Royal Blue 
192. Lapis 
193. Dark Grape 
194. Aubergine 
195. Dark Plum Red 
196. Raspberry 
197. Deep Scarlet 
198. 70% Gray 
199. Red Gray 
200. Tan 
201. Khaki 
202. Putty 
203. Bamboo Green 
204. Green Gray 
205. Baltic Gray 
206. Blue Gray 
208. 207. Rain Cloud 
209. Lilac Gray 
210. Light Purple Gray 
211. Light Mauve 
212. Light Plum Gray 
213. Light Burgundy Gray 
214. Rose Gray 
215. 80% Gray 
216. Dark Red Gray 
217. Dark Tan 
218. Safari 
219. Olive Gray 
220. Jade 
221. Dark Green Gray 
222. Spruce Gray 
223. Dark Blue Gray 
224. Atlantic Gray 
225. Dark Lilac Gray 
226. Purple Gray 
227. Mauve 
228. Plum Gray 
229. Burgundy Gray 
230. Dark Rose Gray 
231. to 238. Users Colors 

This was first published in May 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.