Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!82
The source project of this merge request has been removed.
[DOC] color.py: fix example change_lightness
Merged
[DOC] color.py: fix example change_lightness
(removed):patch-3
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
genofire
requested to merge
(removed):patch-3
into
master
5 years ago
Overview
1
Pipelines
0
Changes
1
Expand
1
0
Merge request reports
Viewing commit
f3d7d710
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f3d7d710
[DOC] color.py: fix example change_lightness
· f3d7d710
genofire
authored
5 years ago
pycardium/modules/py/color.py
+
2
−
2
Options
@@ -348,9 +348,9 @@ class Color(_ColorTuple):
c = Color.from_hex(0xff0000)
print(c)
# #ff0000
c.change_
value(-
0.2
5
)
c.change_
lightness(
0.2)
print(c)
# #
800000
# #
ff6666
"""
return
self
.
__change_vlx
(
change
,
self
.
to_hsl
,
self
.
from_hsl
)
Loading