Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Ctrl
+
K
GitHub
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
GitHub
Section Navigation
Native API reference
ansys.api.pyensight.ensight_api
anim
anim_flipbook
anim_keyframe
anim_quick
anim_recorders
anim_screens
anim_traces
annot_backgr
annot_entlbl
annotation
arrow
auxgeom
boundarylayer
case
clip
collab
command
connect
context_restore
contour
curve
data
data_partbuild
define
devsrf
dial
dpart
elevsurf
ensight
enums
extrude
file
filterpart
format
frame
function
gauge
help
isos
legend
description
deselect_all
format
get_mainvarlist_select
height
label_count
location_x
location_y
modify_begin
modify_end
orientation
query_count
query_display_attributes
query_selected_objects
relative_to
relative_viewport
rgb
select_all
select_all_invisible
select_all_visible
select_begin
select_default
select_palette_begin
select_palette_end
shadow_intensity
shadow_offset
show_background
show_minmax_marker
specify_label_count
text_position
text_rgb
text_size
text_type
title
title_location
title_name
type
visible
width
lightsource
line
logo
material
message_window
model
nplot
nvc
objs
part
plot
pointpart
prefs
profile
ptrace
ptrace_emitr
query_ent_var
query_interact
savegeom
scene
sepattach
set_tdata
set_visenv
shape
shell
shock
show_info
solution_time
species
subset
tensor
text
texture
tools
user
varextcfd
variables
vctarrow
view
view_transf
viewport
viewport_axis
viewport_bounds
views
vof
vortexcore
Object API reference
Calculator functions
REST API
LibUserd API reference
EnsContext
LocalLauncher
DockerLauncher
Renderable
Session
Export
Parts
Query
Support
Views
Variables
Omniverse
Readers
DVS
API reference
Native API reference
legend
rgb
rgb
#
legend.
rgb
(
p0
:
float
,
p1
:
float
,
p2
:
float
)
→
int
#
Legend: rgb
On this page
legend.rgb()
Show Source