… | |
… | |
1346 | It is also possible to specify the colour values of B<foreground>, |
1346 | It is also possible to specify the colour values of B<foreground>, |
1347 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1347 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1348 | a number 0-15, as a convenient shorthand to reference the colour name of |
1348 | a number 0-15, as a convenient shorthand to reference the colour name of |
1349 | color0-color15. |
1349 | color0-color15. |
1350 | |
1350 | |
1351 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1351 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
1352 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
1352 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
1353 | (recommended, but B<MUST> have 4 digits/component), C<#ARGB>, C<#AARRGGBB> |
1353 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
1354 | and C<#AAAARRRRGGGGBBBB> colour specifications, in addition to the ones |
1354 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
1355 | provided by X, where the additional A component specifies alpha (opacity) |
|
|
1356 | values (0 is completely transparent and the maximum is opaque). You |
|
|
1357 | probably need to specify B<"-depth 32">, too, and have the luck that your |
|
|
1358 | X-server uses ARGB pixel layout, as X is far from just supporting ARGB |
|
|
1359 | visuals out of the box, and rxvt-unicode just fudges around. |
|
|
1360 | |
1355 | |
1361 | I<Please note that transparency of any kind if completely unsupported by |
1356 | Together, all those colours implement the 88 colour xterm colours. Only |
1362 | the author. Don't bug him with installation questions!> |
1357 | the first 16 can be changed using resources currently, the rest can only |
|
|
1358 | be changed via command sequences ("escape codes"). |
1363 | |
1359 | |
1364 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1360 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1365 | always swapping the foreground/background colours. This is in contrast to |
1361 | always swapping the foreground/background colours. This is in contrast to |
1366 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1362 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1367 | been specified. For example, |
1363 | been specified. For example, |
… | |
… | |
1372 | |
1368 | |
1373 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1369 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1374 | on White. |
1370 | on White. |
1375 | |
1371 | |
1376 | =back |
1372 | =back |
|
|
1373 | |
|
|
1374 | =head2 ALPHA CHANNEL SUPPORT |
|
|
1375 | |
|
|
1376 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
|
|
1377 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
|
|
1378 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
|
|
1379 | in addition to the ones provided by X, where the additional A component |
|
|
1380 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
|
|
1381 | transparent). You can also prefix any color with C<[a]>, where C<a> is on |
|
|
1382 | to four hex digits specifiying the opacity value. |
|
|
1383 | |
|
|
1384 | You probably need to specify B<"-depth 32">, too, and have the luck that |
|
|
1385 | your X-server uses ARGB pixel layout, as X is far from just supporting |
|
|
1386 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
|
|
1387 | |
|
|
1388 | For example, the following selects an almost completely transparent red |
|
|
1389 | background, and an almost opaque pink foreground: |
|
|
1390 | |
|
|
1391 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/2222 -fg "[e]pink" |
|
|
1392 | |
|
|
1393 | I<Please note that transparency of any kind if completely unsupported by |
|
|
1394 | the author. Don't bug him with installation questions!> |
1377 | |
1395 | |
1378 | =head1 ENVIRONMENT |
1396 | =head1 ENVIRONMENT |
1379 | |
1397 | |
1380 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1398 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1381 | |
1399 | |