{
    "mode": "man",
    "parameter": "pamhue",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/pamhue/1/json",
    "generated": "2026-08-06T16:09:13Z",
    "synopsis": "pamhue [-huechange=[degrees]] filename\nMinimum  unique  abbreviation of option is acceptable.  You may use double hyphens instead of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.",
    "sections": {
        "NAME": {
            "content": "pamhue - change a Netpbm image's hues\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "pamhue [-huechange=[degrees]] filename\n\nMinimum  unique  abbreviation of option is acceptable.  You may use double hyphens instead of\nsingle hyphen to denote options.  You may use white space in place of the equals sign to sep‐\narate an option name from its value.\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This program is part of Netpbm(1).\n\npamhue shifts the hue of every pixel in an image by the same amount.\n\nIf the image is in a black and white or grayscale format, the image is fully desaturated,  so\nthe hue is meaningless and pamhue leaves the image unchanged.\n\nHue-Saturation-Value,  or HSV, is one way to represent a color, like the more well-known RGB.\nHue is an indication of the secondary color with the same brightness that  most  closely  ap‐\nproximates  the color.  A secondary color is made of a combination of at most two of the pri‐\nmary colors.\n\nIn the HSV model, hue is an angular position on the color wheel.\n\nWith pamhue, you indicate an angle by which to change all the hues in the image; for  example\nyou can say move it 60 degrees clockwise.  That would change all red pixels to yellow and all\nyellow pixels to green, etc.\n\n\nTo modify the saturation and value components of the colors, use pambrighten.\n\n\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "To shift the color of each pixel 120 degrees clockwise:\npamhue -huechange=120\n\n\nTo shift the color of each pixel 120 degrees counterclockwise:\npamhue -huechange=-120\n\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "In  addition  to  the options common to all programs based on libnetpbm (most notably -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), pamhue recognizes the following command line option:\n\n\n",
            "subsections": [
                {
                    "name": "-huechange=_",
                    "content": "This option specifies the amount to shift each color.  It is in degrees, with positive\nmeaning clockwise and negative meaning counterclockwise.  It may be fractional and may\nbe more than a full revolution.\n\nThis option is mandatory.\n\n\n\n"
                }
            ]
        },
        "HISTORY": {
            "content": "pamhue was new in Netpbm 10.86 (March 2019).\n\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "pambrighten(1), ppmflash(1), ppmhist(1), ppm(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 2018 by Willem van Schaik.  Copyright (C) 1990 by Brian Moffet.  Copyright  (C)\n1989 by Jef Poskanzer.\n\nPermission  to  use, copy, modify, and distribute this software and its documentation for any\npurpose and without fee is hereby granted, provided that the above copyright notice appear in\nall copies and that both that copyright notice and this permission notice appear in  support‐\ning documentation.  This software is provided \"as is\" without express or implied warranty.\n",
            "subsections": []
        },
        "DOCUMENT SOURCE": {
            "content": "This  manual  page  was  generated by the Netpbm tool 'makeman' from HTML source.  The master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/pamhue.html\n\nnetpbm documentation                       07 January 2018                     Pamhue User Manual(1)",
            "subsections": []
        }
    },
    "summary": "pamhue - change a Netpbm image's hues",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "This option specifies the amount to shift each color. It is in degrees, with positive meaning clockwise and negative meaning counterclockwise. It may be fractional and may be more than a full revolution. This option is mandatory."
        }
    ],
    "examples": [
        "To shift the color of each pixel 120 degrees clockwise:",
        "pamhue -huechange=120",
        "To shift the color of each pixel 120 degrees counterclockwise:",
        "pamhue -huechange=-120"
    ],
    "see_also": [
        {
            "name": "pambrighten",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/pambrighten/1/json"
        },
        {
            "name": "ppmflash",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmflash/1/json"
        },
        {
            "name": "ppmhist",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppmhist/1/json"
        },
        {
            "name": "ppm",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
        }
    ]
}