색상값에서 색조를 추출합니다.
hue() a에서 색조 값을 추출합니다 p5.Color 개체, 색상 배열 구성요소, 또는 CSS 색상 문자열.
색조(Hue)는 컬러휠(color wheel)에서 색상의 위치를 나타냅니다. 기본적으로, hue() 0 ~ 360 범위의 색상의 HSL 색상을 반환합니다. colorMode()는 HSB 또는 HSL로 설정되어 있습니다 주어진 모드에서 색조값을 되돌립니다.
예제
구문
색조(color)
매개변수
color
p5.Color|Number[]|String:
p5.Color 객체, 배열 색상 구성 요소 또는, CSS 색상 문자열.
반환값
숫자(Number): 색조값
This page is generated from the comments in src/color/creating_reading.js . Please feel free to edit it and submit a pull request!