We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Color
Curve
Domain
List
Mesh
Number
Plane
Point
SubD
Surface
Transform
Twisted Box
Vector

Grayscale Color

Convert a color to grayscale by a variety of common luminosity weighting schemes.

Inputs

NameIDDescriptionType
ColorClColor to convert to grayscaleColour
Luminosity TypeLDetermines which common grayscale luminosity weighting scheme to use 0 = R*0.2989, G*0.5870, B*0.1140 1 = R*0.2627, G*0.6780, B*0.0593 2 = R*0.2126, G*0.7152, B*0.0722 3 = R*0.3333, G*0.3333, B*0.3333Integer
AlphaaRemove the transparency (alpha value) of the colorBoolean

Outputs

NameIDDescriptionType
GrayscaledGResulting grayscale colorColour

Video Tutorials

Site design © Robin Rodricks.   Pufferfish and associated data © 2024 Michael Pryor.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service