NegativeScreen
"
NegativeScreen is a Windows application allowing you to invert your screen colors.
Apart from accessibility matters, this software is especially useful when you are surfing on the internet in a dark room, and the screen is dazzling you."
Important: NegativeScreen is much, much more flexible than just inverting colors. It can apply a large range of color effects with something called "color matrices".
Links:
NegativeScreen website
NegativeScreen GitHub page
ColorMatrix Viewer
(tool for creating/editing color matrices)
NegativeScreen - 416 presets
(note, the zip file contains an old version of NegativeScreen, use only the
negativescreen.conf file, or copy presets from it)
Microsoft - Using a Color Matrix to Transform a Single Color
QAP, curl and controlling NegativeScreen
web api
A basic web api is part of NegativeScreen >= 2.5. It is disabled by default. When enabled, it listens by default on port 8990, localhost only. See the configuration file to enable the api or change the listening uri.
All commands must be sent with the POST http method. The following commands are implemented:
- TOGGLE
- ENABLE
- DISABLE
- SET "Color effect name" (without the quotes)
Edit
negativescreen.conf and set
EnableApi=true
QAP favorites using curl
Application (path and file name): curl
ENABLE
Parameters: -X POST -d ENABLE http://localhost:8990/
DISABLE
Parameters: -X POST -d DISABLE http://localhost:8990/
TOGGLE
Parameters: -X POST -d TOGGLE http://localhost:8990/
SET preset using {Input:}
Parameters: -X POST -d "SET {Input:Enter preset name (f.ex. BlueLuma)}" http://localhost:8990/
SET preset, example "Red"
Parameters: -X POST -d "SET Red" http://localhost:8990/
Some recommended presets (imho)- SimpleInversion (in the default negativescreen.conf)
- SmartInversion (in the default negativescreen.conf)
- Red (in the default negativescreen.conf)
- Grayscale (in the default negativescreen.conf)
- BlueLuma (in the 416 presets file)
- GreenLuma (in the 416 presets file)
- DarkBlue (in the 416 presets file)
- DarkGreen (in the 416 presets file)
- DarkPurple (in the 416 presets file)
- DarkTurq (in the 416 presets file)
Example matrices
Use ColorMatrix Viewer to change or make your own matrices.
Blue:
Code:
Blue=
{ 0.0, 0.0, 0.3, 0.0, 0.0 }
{ 0.0, 0.0, 0.6, 0.0, 0.0 }
{ 0.0, 0.0, 0.1, 0.0, 0.0 }
{ 0.0, 0.0, 0.0, 1.0, 0.0 }
{ 0.0, 0.0, 0.0, 0.0, 1.0 }
Green:
Code:
Green=
{ 0.0, 0.3, 0.0, 0.0, 0.0 }
{ 0.0, 0.6, 0.0, 0.0, 0.0 }
{ 0.0, 0.1, 0.0, 0.0, 0.0 }
{ 0.0, 0.0, 0.0, 1.0, 0.0 }
{ 0.0, 0.0, 0.0, 0.0, 1.0 }
Cyan:
Code:
Cyan=
{ 0.0, 0.3, 0.3, 0.0, 0.0 }
{ 0.0, 0.6, 0.6, 0.0, 0.0 }
{ 0.0, 0.1, 0.1, 0.0, 0.0 }
{ 0.0, 0.0, 0.0, 1.0, 0.0 }
{ 0.0, 0.0, 0.0, 0.0, 1.0 }
Purple:
Code:
Purple=
{ 0.3, 0.0, 0.3, 0.0, 0.0 }
{ 0.6, 0.0, 0.6, 0.0, 0.0 }
{ 0.1, 0.0, 0.1, 0.0, 0.0 }
{ 0.0, 0.0, 0.0, 1.0, 0.0 }
{ 0.0, 0.0, 0.0, 0.0, 1.0 }
Attached three examples, Default (on my PC, ie. NegativeScreen not active), BlueLuma and Red.
Regards,
joeNOR