| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Macros
color.h File Reference
`#include <inttypes.h>`

Go to the source code of this file.

## Classes
struct | color_t
| RGB color representation with 16-bit precision per channel. More...

## Macros
#define | RED_COMPONENT(x) (uint16_t) (((((x) >> 16) & 0xff) * 65535 / 255))
#define | GREEN_COMPONENT(x) (uint16_t) (((((x) >> 8) & 0xff) * 65535 / 255))
#define | BLUE_COMPONENT(x) (uint16_t) ( (((x) & 0xff) * 65535 / 255))

## Detailed Description

Definitions for colors

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later