File:RGB color wheel 360.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 512 × 512 pixels, file size: 25 KB)

Captions

Captions

Color wheel

Summary[edit]

Description
English: RGB color wheel with 360 colors (1°) and white center
Date
Source Own work
Author László Németh
Other versions
 
This vector image was created with LibreOffice.
; Created in LibreOffice 4 with this LibreLogo program.
; Usage: Put this code into an English language document in LibO Writer,
; and click on the Start icon of the View»Toolbars»Logo toolbar.
TO pie r g b where width
 FILLCOLOR [r, g, b]
 CIRCLE [300, 300, where, where + width]
 FILLCOLOR [r ^ 0xff, g ^ 0xff, b ^ 0xff]
 CIRCLE [300, 300, 180 + where, 180 + where + width]
END

HOME CLEARSCREEN HIDETURTLE
i = INPUT “Level or Enter (level = 2)”
IF i = “” [ i = 2 ] [ i = INT i ]
PENUP

size = 360/(12*i)
LEFT size * 1.5

; PICTURE “RGB_color_wheel_%d.svg” % (12 * i) [ ; from LibreOffice 4.1.1 
PICTURE [
	REPEAT 2*i+1 [
		u = (REPCOUNT-1) * 255/(2*i)
		pie 255 255 - INT u 0 REPCOUNT * size size
	]
	REPEAT 2*i [
		u = REPCOUNT * 255/(2*i)
		pie 255 0 INT u 60 + (REPCOUNT + 1) * size size 
	]
	REPEAT 2*i-1 [
		u = REPCOUNT * 255/(2*i)
		pie 255 - INT u 0 255 120 + (REPCOUNT + 1) * size size 
	]
	FILLCOLOR “WHITE” CIRCLE 100
]

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current04:22, 8 February 2023Thumbnail for version as of 04:22, 8 February 2023512 × 512 (25 KB)TSamuel (talk | contribs)Further careful recompression via SVGOMG & vecta.io/nano, & verified via SVGCheck
14:30, 23 January 2022Thumbnail for version as of 14:30, 23 January 2022512 × 512 (42 KB)TSamuel (talk | contribs)Lossless recompression via SVGOMG & verified via SVGCheck
08:07, 22 July 2013Thumbnail for version as of 08:07, 22 July 2013375 × 375 (82 KB)Nl74 (talk | contribs)valid SVG
23:51, 24 June 2013Thumbnail for version as of 23:51, 24 June 2013376 × 376 (84 KB)Nl74 (talk | contribs)User created page with UploadWizard

File usage on other wikis

Metadata