SlideShare a Scribd company logo
1 of 10
Download to read offline
Color Pallet
Presented By
Farman Hussain
Bachelor of Computer Application
Dezyne E’cole College, Ajmer
Project report on
Color Pallet
Submitted To
Dezyne E’cole College
Towards
The Partial Fulfillment
Of Final Year, Bachelor of Computer Application
By
Farman Hussain
Dezyne E,cole College
106/10, Civil Line, Ajmer
www.dezyneecole.com
VIEW :-
VIEW :-
CODE
Form1 :
Private Sub vscroll1_change()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text1.Text = r
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll1.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text4.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub
Private Sub VScroll1_Scroll()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text1.Text = r
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll1.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text4.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub
Private Sub VScroll2_Change()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text2.Text = g
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll2.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text5.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub
Private Sub VScroll2_Scroll()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text2.Text = g
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll2.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text5.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub
Private Sub VScroll3_Change()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text3.Text = b
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll3.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text6.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub
Private Sub VScroll3_Scroll()
r = VScroll1.Value
g = VScroll2.Value
b = VScroll3.Value
Form1.BackColor = RGB(r, g, b)
Text3.Text = b
Dim a(3), n, i, j, k, t As Integer
i = 0
n = Val(VScroll3.Value)
While (n > 0)
m = n Mod 16
a(i) = m
n = n  16
i = i + 1
Wend
k = 0
If (a(1) = 10) Then
k = "A"
ElseIf (a(1) = 11) Then
k = "B"
ElseIf (a(1) = 12) Then
k = "C"
ElseIf (a(1) = 13) Then
k = "D"
ElseIf (a(1) = 14) Then
k = "E"
ElseIf (a(1) = 15) Then
k = "F"
Else
k = a(1)
End If
If (a(0) = 10) Then
j = "A"
ElseIf (a(0) = 11) Then
j = "B"
ElseIf (a(0) = 12) Then
j = "C"
ElseIf (a(0) = 13) Then
j = "D"
ElseIf (a(0) = 14) Then
j = "E"
ElseIf (a(0) = 15) Then
j = "F"
Else
j = a(0)
End If
Text6.Text = k & j
Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text
End Sub

More Related Content

Similar to Color pallet

R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
Revolution Analytics
 
Mathematical sciences-paper-ii
Mathematical sciences-paper-iiMathematical sciences-paper-ii
Mathematical sciences-paper-ii
knowledgesociety
 

Similar to Color pallet (16)

Monadologie
MonadologieMonadologie
Monadologie
 
R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
R + Hadoop = Big Data Analytics. How Revolution Analytics' RHadoop Project Al...
 
2014-11-01 01 Денис Нелюбин. О сортах кофе
2014-11-01 01 Денис Нелюбин. О сортах кофе2014-11-01 01 Денис Нелюбин. О сортах кофе
2014-11-01 01 Денис Нелюбин. О сортах кофе
 
Go a crash course
Go   a crash courseGo   a crash course
Go a crash course
 
Rumus visual basic
Rumus visual basicRumus visual basic
Rumus visual basic
 
Scala Functional Patterns
Scala Functional PatternsScala Functional Patterns
Scala Functional Patterns
 
Add math may june 2016 p1
Add math may june 2016 p1Add math may june 2016 p1
Add math may june 2016 p1
 
Struct examples
Struct examplesStruct examples
Struct examples
 
Go: It's Not Just For Google
Go: It's Not Just For GoogleGo: It's Not Just For Google
Go: It's Not Just For Google
 
2007
20072007
2007
 
11 - Programming languages
11 - Programming languages11 - Programming languages
11 - Programming languages
 
Declarative Language Definition
Declarative Language DefinitionDeclarative Language Definition
Declarative Language Definition
 
Formula m2
Formula m2Formula m2
Formula m2
 
Compiling fµn language
Compiling fµn languageCompiling fµn language
Compiling fµn language
 
Quark: A Purely-Functional Scala DSL for Data Processing & Analytics
Quark: A Purely-Functional Scala DSL for Data Processing & AnalyticsQuark: A Purely-Functional Scala DSL for Data Processing & Analytics
Quark: A Purely-Functional Scala DSL for Data Processing & Analytics
 
Mathematical sciences-paper-ii
Mathematical sciences-paper-iiMathematical sciences-paper-ii
Mathematical sciences-paper-ii
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 

Color pallet

  • 1. Color Pallet Presented By Farman Hussain Bachelor of Computer Application Dezyne E’cole College, Ajmer
  • 2. Project report on Color Pallet Submitted To Dezyne E’cole College Towards The Partial Fulfillment Of Final Year, Bachelor of Computer Application By Farman Hussain Dezyne E,cole College 106/10, Civil Line, Ajmer www.dezyneecole.com
  • 4. CODE Form1 : Private Sub vscroll1_change() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text1.Text = r Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll1.Value) While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then k = "F" Else k = a(1) End If If (a(0) = 10) Then j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then
  • 5. j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text4.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub Private Sub VScroll1_Scroll() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text1.Text = r Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll1.Value) While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then k = "F" Else k = a(1) End If If (a(0) = 10) Then
  • 6. j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text4.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub Private Sub VScroll2_Change() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text2.Text = g Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll2.Value) While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then
  • 7. k = "F" Else k = a(1) End If If (a(0) = 10) Then j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text5.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub Private Sub VScroll2_Scroll() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text2.Text = g Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll2.Value) While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then
  • 8. k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then k = "F" Else k = a(1) End If If (a(0) = 10) Then j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text5.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub Private Sub VScroll3_Change() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text3.Text = b Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll3.Value) While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend
  • 9. k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then k = "F" Else k = a(1) End If If (a(0) = 10) Then j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text6.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub Private Sub VScroll3_Scroll() r = VScroll1.Value g = VScroll2.Value b = VScroll3.Value Form1.BackColor = RGB(r, g, b) Text3.Text = b Dim a(3), n, i, j, k, t As Integer i = 0 n = Val(VScroll3.Value)
  • 10. While (n > 0) m = n Mod 16 a(i) = m n = n 16 i = i + 1 Wend k = 0 If (a(1) = 10) Then k = "A" ElseIf (a(1) = 11) Then k = "B" ElseIf (a(1) = 12) Then k = "C" ElseIf (a(1) = 13) Then k = "D" ElseIf (a(1) = 14) Then k = "E" ElseIf (a(1) = 15) Then k = "F" Else k = a(1) End If If (a(0) = 10) Then j = "A" ElseIf (a(0) = 11) Then j = "B" ElseIf (a(0) = 12) Then j = "C" ElseIf (a(0) = 13) Then j = "D" ElseIf (a(0) = 14) Then j = "E" ElseIf (a(0) = 15) Then j = "F" Else j = a(0) End If Text6.Text = k & j Text7.Text = "#" & Text4.Text + Text5.Text + Text6.Text End Sub