Login
Remember
IF Answers
Ask a Question

# How can I change the background color in ADRIFT

0 votes
66 views
asked May 20 in Authoring by Jackson (3 points)
retagged May 20 by Alex

How can I change the background color in ADRIFT so it's not black.

- adrift

## 1 Answer

+1 vote
answered May 21 by Campbell (26 points)
selected May 21 by Jackson
Best answer

To change the default background colour for your game, go to Options > General and click on the Background colour swatch.

To change the background colour whilst the game is being played, you need to use the bgcolor tag. The format is

> <bgcolor="colour">

where colour can be a named colour (red, green, blue etc) or an RGB Hex colour such as #FE6E59. You can revert to the default background with the named colour "default".

You can place this anywhere within your output text, allowing you to change the colour at any point in your game.

## Related questions

- With Flexible Windows, can I make the background color of one window always match another one? (Inform 7)
- How can I change the interface to look like Beyond Zork?
- How to show window background color in Quixe: background color property or text background? (Flexible Windows, Inform 7)
- How can I set the player smell in Inform 6?
- How can I make use of the health variable in Quest through the editor

...