summary refs log tree commit diff
path: root/bin/man1/scheme.1
blob: 9f72d9452222b1504fb59f6affe0fb7f64548323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.Dd February  6, 2021
.Dt SCHEME 1
.Os
.
.Sh NAME
.Nm scheme
.Nd color scheme
.
.Sh SYNOPSIS
.Nm
.Op Fl Xacghilmstx
.Op Fl p Ar n
.
.Sh DESCRIPTION
.Nm
generates a color scheme
and outputs it in a number of formats.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl X
Output Xresources for
.Xr xterm 1 .
.It Fl a
Generate the 16 ANSI colors.
This is the default.
.It Fl c
Output a C enum.
.It Fl g
Output a swatch PNG.
.It Fl h
Output floating point HSV.
.It Fl i
Swap black and white.
.It Fl l
Output Linux console OSC sequences.
.It Fl m
Output a
.Xr mintty 1
theme.
Use with
.Fl t .
.It Fl p Ar n
Generate only the color
.Ar n .
.It Fl s
Output CSS
for classes named
.Sy fg Ns Ar n
and
.Sy bg Ns Ar n .
.It Fl t
Generate the 16 ANSI colors as well as
background, foreground, bold, selection and cursor colors.
.It Fl x
Output hexadecimal RGB.
This is the default.
.El
td>Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe